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

Unified Diff: cc/test/tiled_layer_test_common.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/test/tiled_layer_test_common.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/tiled_layer_test_common.cc
diff --git a/cc/test/tiled_layer_test_common.cc b/cc/test/tiled_layer_test_common.cc
index 7d810d1ecfbca8bb52a12e59dbe21686d681ba89..ea45f48a154aa1d1714b6717ab20f70da86774b2 100644
--- a/cc/test/tiled_layer_test_common.cc
+++ b/cc/test/tiled_layer_test_common.cc
@@ -67,8 +67,9 @@ FakeTiledLayerImpl::FakeTiledLayerImpl(LayerTreeImpl* tree_impl, int id)
FakeTiledLayerImpl::~FakeTiledLayerImpl() {}
-FakeTiledLayer::FakeTiledLayer(PrioritizedResourceManager* resource_manager)
- : TiledLayer(),
+FakeTiledLayer::FakeTiledLayer(const LayerSettings& settings,
+ PrioritizedResourceManager* resource_manager)
+ : TiledLayer(settings),
fake_updater_(make_scoped_refptr(new FakeLayerUpdater)),
resource_manager_(resource_manager) {
SetTileSize(tile_size());
@@ -80,8 +81,10 @@ FakeTiledLayer::FakeTiledLayer(PrioritizedResourceManager* resource_manager)
}
FakeTiledLayerWithScaledBounds::FakeTiledLayerWithScaledBounds(
+ const LayerSettings& settings,
PrioritizedResourceManager* resource_manager)
- : FakeTiledLayer(resource_manager) {}
+ : FakeTiledLayer(settings, resource_manager) {
+}
FakeTiledLayerWithScaledBounds::~FakeTiledLayerWithScaledBounds() {}
« no previous file with comments | « cc/test/tiled_layer_test_common.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698