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

Unified Diff: cc/test/fake_painted_scrollbar_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_painted_scrollbar_layer.h ('k') | cc/test/fake_picture_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_painted_scrollbar_layer.cc
diff --git a/cc/test/fake_painted_scrollbar_layer.cc b/cc/test/fake_painted_scrollbar_layer.cc
index e74581a5edb7373e6521ec3d382caf447f33fa31..4d0f6cc7a0cedd63e028431a9c45bff222651008 100644
--- a/cc/test/fake_painted_scrollbar_layer.cc
+++ b/cc/test/fake_painted_scrollbar_layer.cc
@@ -11,19 +11,22 @@
namespace cc {
scoped_refptr<FakePaintedScrollbarLayer> FakePaintedScrollbarLayer::Create(
+ const LayerSettings& settings,
bool paint_during_update,
bool has_thumb,
int scrolling_layer_id) {
FakeScrollbar* fake_scrollbar = new FakeScrollbar(
paint_during_update, has_thumb, false);
return make_scoped_refptr(new FakePaintedScrollbarLayer(
- fake_scrollbar, scrolling_layer_id));
+ settings, fake_scrollbar, scrolling_layer_id));
}
FakePaintedScrollbarLayer::FakePaintedScrollbarLayer(
+ const LayerSettings& settings,
FakeScrollbar* fake_scrollbar,
int scrolling_layer_id)
- : PaintedScrollbarLayer(scoped_ptr<Scrollbar>(fake_scrollbar).Pass(),
+ : PaintedScrollbarLayer(settings,
+ scoped_ptr<Scrollbar>(fake_scrollbar).Pass(),
scrolling_layer_id),
update_count_(0),
push_properties_count_(0),
« no previous file with comments | « cc/test/fake_painted_scrollbar_layer.h ('k') | cc/test/fake_picture_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698