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

Unified Diff: cc/test/fake_painted_scrollbar_layer.cc

Issue 1783613004: CC Animation: Erase cc::LayerSettings everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eraseandroid
Patch Set: Rebase. Created 4 years, 9 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 8e14ff39f6e823bf0df8ae7d2701a205e83d9647..14964eb500762387d2a8ffbb9c76167a42f2aea8 100644
--- a/cc/test/fake_painted_scrollbar_layer.cc
+++ b/cc/test/fake_painted_scrollbar_layer.cc
@@ -10,22 +10,19 @@
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(
- settings, fake_scrollbar, scrolling_layer_id));
+ return make_scoped_refptr(
+ new FakePaintedScrollbarLayer(fake_scrollbar, scrolling_layer_id));
}
FakePaintedScrollbarLayer::FakePaintedScrollbarLayer(
- const LayerSettings& settings,
FakeScrollbar* fake_scrollbar,
int scrolling_layer_id)
- : PaintedScrollbarLayer(settings,
- scoped_ptr<Scrollbar>(fake_scrollbar),
+ : PaintedScrollbarLayer(scoped_ptr<Scrollbar>(fake_scrollbar),
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