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

Unified Diff: cc/layers/tiled_layer.cc

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/tiled_layer.h ('k') | cc/layers/tiled_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/tiled_layer.cc
diff --git a/cc/layers/tiled_layer.cc b/cc/layers/tiled_layer.cc
index 55143befe9305b55ef351dd7f7ae7d2ce77ce233..972f5c8d2004ce749fcd59945dbc60027a38a9d3 100644
--- a/cc/layers/tiled_layer.cc
+++ b/cc/layers/tiled_layer.cc
@@ -84,8 +84,8 @@ class UpdatableTile : public LayerTilingData::Tile {
DISALLOW_COPY_AND_ASSIGN(UpdatableTile);
};
-TiledLayer::TiledLayer()
- : ContentsScalingLayer(),
+TiledLayer::TiledLayer(const LayerSettings& settings)
+ : ContentsScalingLayer(settings),
texture_format_(RGBA_8888),
skips_draw_(false),
failed_update_(false),
« no previous file with comments | « cc/layers/tiled_layer.h ('k') | cc/layers/tiled_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698