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

Unified Diff: cc/layers/image_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/heads_up_display_unittest.cc ('k') | cc/layers/image_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/image_layer.h
diff --git a/cc/layers/image_layer.h b/cc/layers/image_layer.h
index ed2a2a3bd89736159c5c0f7079b8864f9e8993da..a81b5995ca91cbd8090c8cda4d5d16cfada7b20c 100644
--- a/cc/layers/image_layer.h
+++ b/cc/layers/image_layer.h
@@ -16,7 +16,7 @@ class ImageLayerUpdater;
// A Layer that contains only an Image element.
class CC_EXPORT ImageLayer : public TiledLayer {
public:
- static scoped_refptr<ImageLayer> Create();
+ static scoped_refptr<ImageLayer> Create(const LayerSettings& settings);
// Layer implementation.
void SetTexturePriorities(const PriorityCalculator& priority_calc) override;
@@ -34,7 +34,7 @@ class CC_EXPORT ImageLayer : public TiledLayer {
bool HasDrawableContent() const override;
private:
- ImageLayer();
+ explicit ImageLayer(const LayerSettings& settings);
~ImageLayer() override;
// TiledLayer Implementation.
« no previous file with comments | « cc/layers/heads_up_display_unittest.cc ('k') | cc/layers/image_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698