Index: cc/layers/nine_patch_layer.h |
diff --git a/cc/layers/nine_patch_layer.h b/cc/layers/nine_patch_layer.h |
index 9054610b8eedc77e18754e37ef527ceb6de96f7c..714a407ddb0fc2f994716f559ced087248e42e10 100644 |
--- a/cc/layers/nine_patch_layer.h |
+++ b/cc/layers/nine_patch_layer.h |
@@ -19,7 +19,7 @@ class ScopedUIResource; |
class CC_EXPORT NinePatchLayer : public UIResourceLayer { |
public: |
- static scoped_refptr<NinePatchLayer> Create(); |
+ static scoped_refptr<NinePatchLayer> Create(const LayerSettings& settings); |
void PushPropertiesTo(LayerImpl* layer) override; |
@@ -40,7 +40,7 @@ class CC_EXPORT NinePatchLayer : public UIResourceLayer { |
void SetFillCenter(bool fill_center); |
private: |
- NinePatchLayer(); |
+ explicit NinePatchLayer(const LayerSettings& settings); |
~NinePatchLayer() override; |
scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; |