| Index: cc/test/fake_picture_layer.h
|
| diff --git a/cc/test/fake_picture_layer.h b/cc/test/fake_picture_layer.h
|
| index 2421fee0d5983fd559ae6b8fa8200349d7172b2b..19e365d76ad4df0205eaa8dd6cce311fad1c8bfd 100644
|
| --- a/cc/test/fake_picture_layer.h
|
| +++ b/cc/test/fake_picture_layer.h
|
| @@ -13,14 +13,17 @@
|
| namespace cc {
|
| class FakePictureLayer : public PictureLayer {
|
| public:
|
| - static scoped_refptr<FakePictureLayer> Create(ContentLayerClient* client) {
|
| - return make_scoped_refptr(new FakePictureLayer(client));
|
| + static scoped_refptr<FakePictureLayer> Create(const LayerSettings& settings,
|
| + ContentLayerClient* client) {
|
| + return make_scoped_refptr(new FakePictureLayer(settings, client));
|
| }
|
|
|
| static scoped_refptr<FakePictureLayer> CreateWithRecordingSource(
|
| + const LayerSettings& settings,
|
| ContentLayerClient* client,
|
| scoped_ptr<RecordingSource> source) {
|
| - return make_scoped_refptr(new FakePictureLayer(client, source.Pass()));
|
| + return make_scoped_refptr(
|
| + new FakePictureLayer(settings, client, source.Pass()));
|
| }
|
|
|
| scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
|
| @@ -48,8 +51,9 @@ class FakePictureLayer : public PictureLayer {
|
| }
|
|
|
| private:
|
| - explicit FakePictureLayer(ContentLayerClient* client);
|
| - FakePictureLayer(ContentLayerClient* client,
|
| + FakePictureLayer(const LayerSettings& settings, ContentLayerClient* client);
|
| + FakePictureLayer(const LayerSettings& settings,
|
| + ContentLayerClient* client,
|
| scoped_ptr<RecordingSource> source);
|
| ~FakePictureLayer() override;
|
|
|
|
|