Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: cc/layers/picture_layer.h

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/picture_image_layer_unittest.cc ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer.h
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
index 767de273302a37e1ff24f406b607689bfd01ff1e..c602ea5f83d42f389224f4cea4b7aaac812c0a1f 100644
--- a/cc/layers/picture_layer.h
+++ b/cc/layers/picture_layer.h
@@ -19,7 +19,8 @@ class ResourceUpdateQueue;
class CC_EXPORT PictureLayer : public Layer {
public:
- static scoped_refptr<PictureLayer> Create(ContentLayerClient* client);
+ static scoped_refptr<PictureLayer> Create(const LayerSettings& settings,
+ ContentLayerClient* client);
void ClearClient();
@@ -45,9 +46,11 @@ class CC_EXPORT PictureLayer : public Layer {
}
protected:
- explicit PictureLayer(ContentLayerClient* client);
+ PictureLayer(const LayerSettings& settings, ContentLayerClient* client);
// Allow tests to inject a recording source.
- PictureLayer(ContentLayerClient* client, scoped_ptr<RecordingSource> source);
+ PictureLayer(const LayerSettings& settings,
+ ContentLayerClient* client,
+ scoped_ptr<RecordingSource> source);
~PictureLayer() override;
bool HasDrawableContent() const override;
« no previous file with comments | « cc/layers/picture_image_layer_unittest.cc ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698