Index: cc/test/fake_picture_layer.h |
diff --git a/cc/test/fake_picture_layer.h b/cc/test/fake_picture_layer.h |
index 6bb9b175d07372643d5a18d3fcc9a639c920f249..4d7f52e12a7739aaa7b0a69c19fbac20d627a5e5 100644 |
--- a/cc/test/fake_picture_layer.h |
+++ b/cc/test/fake_picture_layer.h |
@@ -15,17 +15,14 @@ |
namespace cc { |
class FakePictureLayer : public PictureLayer { |
public: |
- static scoped_refptr<FakePictureLayer> Create(const LayerSettings& settings, |
- ContentLayerClient* client) { |
- return make_scoped_refptr(new FakePictureLayer(settings, client)); |
+ static scoped_refptr<FakePictureLayer> Create(ContentLayerClient* client) { |
+ return make_scoped_refptr(new FakePictureLayer(client)); |
} |
static scoped_refptr<FakePictureLayer> CreateWithRecordingSource( |
- const LayerSettings& settings, |
ContentLayerClient* client, |
scoped_ptr<DisplayListRecordingSource> source) { |
- return make_scoped_refptr( |
- new FakePictureLayer(settings, client, std::move(source))); |
+ return make_scoped_refptr(new FakePictureLayer(client, std::move(source))); |
} |
scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; |
@@ -45,9 +42,8 @@ class FakePictureLayer : public PictureLayer { |
void PushPropertiesTo(LayerImpl* layer) override; |
private: |
- FakePictureLayer(const LayerSettings& settings, ContentLayerClient* client); |
- FakePictureLayer(const LayerSettings& settings, |
- ContentLayerClient* client, |
+ explicit FakePictureLayer(ContentLayerClient* client); |
+ FakePictureLayer(ContentLayerClient* client, |
scoped_ptr<DisplayListRecordingSource> source); |
~FakePictureLayer() override; |