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

Unified Diff: cc/layers/picture_layer.h

Issue 1783613004: CC Animation: Erase cc::LayerSettings everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eraseandroid
Patch Set: Rebase. Created 4 years, 9 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
Index: cc/layers/picture_layer.h
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
index b7e7152380205d956f7ce353b2d8582ce1607459..248eee8db920f2d8e0f74da38a522b726402b9ae 100644
--- a/cc/layers/picture_layer.h
+++ b/cc/layers/picture_layer.h
@@ -19,8 +19,7 @@ class ResourceUpdateQueue;
class CC_EXPORT PictureLayer : public Layer {
public:
- static scoped_refptr<PictureLayer> Create(const LayerSettings& settings,
- ContentLayerClient* client);
+ static scoped_refptr<PictureLayer> Create(ContentLayerClient* client);
void ClearClient();
@@ -45,10 +44,9 @@ class CC_EXPORT PictureLayer : public Layer {
}
protected:
- PictureLayer(const LayerSettings& settings, ContentLayerClient* client);
+ explicit PictureLayer(ContentLayerClient* client);
// Allow tests to inject a recording source.
- PictureLayer(const LayerSettings& settings,
- ContentLayerClient* client,
+ PictureLayer(ContentLayerClient* client,
scoped_ptr<DisplayListRecordingSource> source);
~PictureLayer() override;

Powered by Google App Engine
This is Rietveld 408576698