Index: cc/layers/layer.h |
diff --git a/cc/layers/layer.h b/cc/layers/layer.h |
index 56decaa741a2d36d5cf3fdbd56d1fd836be41d91..9cfa7471c1cb1c19cb9a596afb3f8d7484876048 100644 |
--- a/cc/layers/layer.h |
+++ b/cc/layers/layer.h |
@@ -58,6 +58,7 @@ class CopyOutputRequest; |
class LayerAnimationEventObserver; |
class LayerClient; |
class LayerImpl; |
+class LayerSettings; |
class LayerTreeHost; |
class LayerTreeHostCommon; |
class LayerTreeImpl; |
@@ -84,7 +85,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
INVALID_ID = -1, |
}; |
- static scoped_refptr<Layer> Create(); |
+ static scoped_refptr<Layer> Create(const LayerSettings& settings); |
int id() const { return layer_id_; } |
@@ -573,7 +574,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
friend class TreeSynchronizer; |
~Layer() override; |
- Layer(); |
+ explicit Layer(const LayerSettings& settings); |
// These SetNeeds functions are in order of severity of update: |
// |