diff options
Diffstat (limited to 'cc/layers/layer.h')
-rw-r--r-- | cc/layers/layer.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cc/layers/layer.h b/cc/layers/layer.h index c14f14d..97023d0 100644 --- a/cc/layers/layer.h +++ b/cc/layers/layer.h @@ -55,7 +55,6 @@ class CopyOutputRequest; class LayerAnimationEventObserver; class LayerClient; class LayerImpl; -class LayerSettings; class LayerTreeHost; class LayerTreeHostCommon; class LayerTreeImpl; @@ -82,7 +81,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> { INVALID_ID = -1, }; - static scoped_refptr<Layer> Create(const LayerSettings& settings); + static scoped_refptr<Layer> Create(); int id() const { return layer_id_; } @@ -534,8 +533,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> { friend class LayerImpl; friend class TreeSynchronizer; virtual ~Layer(); - - explicit Layer(const LayerSettings& settings); + Layer(); // These SetNeeds functions are in order of severity of update: // |