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

Unified Diff: cc/test/fake_scrollbar_layer.cc

Issue 17550008: Make IsSolidColor() a property on CC scrollbar layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Jochen's comments. Created 7 years, 6 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
Index: cc/test/fake_scrollbar_layer.cc
diff --git a/cc/test/fake_scrollbar_layer.cc b/cc/test/fake_scrollbar_layer.cc
index a75edd25ccdb23cd89944db425a3a5607029af94..9e47dcd1157cf32e607f760fba897c0d31a942ea 100644
--- a/cc/test/fake_scrollbar_layer.cc
+++ b/cc/test/fake_scrollbar_layer.cc
@@ -11,11 +11,13 @@ namespace cc {
FakeScrollbarLayer::FakeScrollbarLayer(bool paint_during_update,
bool has_thumb,
- int scrolling_layer_id)
+ int scrolling_layer_id,
+ bool is_solid_color)
: ScrollbarLayer(
scoped_ptr<Scrollbar>(
new FakeScrollbar(paint_during_update, has_thumb, false)).Pass(),
- scrolling_layer_id),
+ scrolling_layer_id,
+ is_solid_color),
update_count_(0),
last_update_full_upload_size_(0),
last_update_partial_upload_size_(0) {

Powered by Google App Engine
This is Rietveld 408576698