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

Unified Diff: cc/test/fake_picture_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/test/fake_picture_layer.h ('k') | cc/test/layer_tree_host_common_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer.cc
diff --git a/cc/test/fake_picture_layer.cc b/cc/test/fake_picture_layer.cc
index 25953cfb40add70259ad83e347cfd492cbcbba27..0b7707cba2c526d74aa7042c5387e2a295772342 100644
--- a/cc/test/fake_picture_layer.cc
+++ b/cc/test/fake_picture_layer.cc
@@ -8,8 +8,9 @@
namespace cc {
-FakePictureLayer::FakePictureLayer(ContentLayerClient* client)
- : PictureLayer(client),
+FakePictureLayer::FakePictureLayer(const LayerSettings& settings,
+ ContentLayerClient* client)
+ : PictureLayer(settings, client),
update_count_(0),
push_properties_count_(0),
output_surface_created_count_(0),
@@ -19,9 +20,10 @@ FakePictureLayer::FakePictureLayer(ContentLayerClient* client)
SetIsDrawable(true);
}
-FakePictureLayer::FakePictureLayer(ContentLayerClient* client,
+FakePictureLayer::FakePictureLayer(const LayerSettings& settings,
+ ContentLayerClient* client,
scoped_ptr<RecordingSource> source)
- : PictureLayer(client, source.Pass()),
+ : PictureLayer(settings, client, source.Pass()),
update_count_(0),
push_properties_count_(0),
output_surface_created_count_(0),
« no previous file with comments | « cc/test/fake_picture_layer.h ('k') | cc/test/layer_tree_host_common_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698