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

Unified Diff: cc/layers/content_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/debug/micro_benchmark_controller_unittest.cc ('k') | cc/layers/content_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/content_layer.h
diff --git a/cc/layers/content_layer.h b/cc/layers/content_layer.h
index 5d6ac15a8010d1c489d1b635040b7cb734cc7333..f8b9f200cb170c325985444914e8ea285ee8ff6c 100644
--- a/cc/layers/content_layer.h
+++ b/cc/layers/content_layer.h
@@ -34,7 +34,8 @@ class CC_EXPORT ContentLayerPainter : public LayerPainter {
// A layer that renders its contents into an SkCanvas.
class CC_EXPORT ContentLayer : public TiledLayer {
public:
- static scoped_refptr<ContentLayer> Create(ContentLayerClient* client);
+ static scoped_refptr<ContentLayer> Create(const LayerSettings& settings,
+ ContentLayerClient* client);
void ClearClient();
@@ -51,7 +52,7 @@ class CC_EXPORT ContentLayer : public TiledLayer {
void OnOutputSurfaceCreated() override;
protected:
- explicit ContentLayer(ContentLayerClient* client);
+ ContentLayer(const LayerSettings& settings, ContentLayerClient* client);
~ContentLayer() override;
bool HasDrawableContent() const override;
« no previous file with comments | « cc/debug/micro_benchmark_controller_unittest.cc ('k') | cc/layers/content_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698