| Index: cc/layers/layer.h
|
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h
|
| index 9c7138e9fdc515040f908c1543a5fa11815813ec..b0a1d665b46315ab809b327e422f2cca54676a42 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_; }
|
|
|
| @@ -564,7 +565,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:
|
| //
|
|
|