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

Unified Diff: cc/test/fake_painted_scrollbar_layer.cc

Issue 2827163005: Remove scroll layer ids from scrollbar layers (Closed)
Patch Set: Created 3 years, 8 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_painted_scrollbar_layer.cc
diff --git a/cc/test/fake_painted_scrollbar_layer.cc b/cc/test/fake_painted_scrollbar_layer.cc
index aca20a9a523896d061333617425f2021c1b59c7c..0440a70cb479166755fef4c83696b52840bf85f1 100644
--- a/cc/test/fake_painted_scrollbar_layer.cc
+++ b/cc/test/fake_painted_scrollbar_layer.cc
@@ -13,10 +13,9 @@ namespace cc {
scoped_refptr<FakePaintedScrollbarLayer> FakePaintedScrollbarLayer::Create(
bool paint_during_update,
bool has_thumb,
- int scrolling_layer_id,
ElementId scrolling_element_id) {
return Create(paint_during_update, has_thumb, HORIZONTAL, false, false,
- scrolling_layer_id, scrolling_element_id);
+ scrolling_element_id);
}
scoped_refptr<FakePaintedScrollbarLayer> FakePaintedScrollbarLayer::Create(
@@ -25,21 +24,18 @@ scoped_refptr<FakePaintedScrollbarLayer> FakePaintedScrollbarLayer::Create(
ScrollbarOrientation orientation,
bool is_left_side_vertical_scrollbar,
bool is_overlay,
- int scrolling_layer_id,
ElementId scrolling_element_id) {
FakeScrollbar* fake_scrollbar =
new FakeScrollbar(paint_during_update, has_thumb, orientation,
is_left_side_vertical_scrollbar, is_overlay);
- return make_scoped_refptr(new FakePaintedScrollbarLayer(
- fake_scrollbar, scrolling_layer_id, scrolling_element_id));
+ return make_scoped_refptr(
+ new FakePaintedScrollbarLayer(fake_scrollbar, scrolling_element_id));
}
FakePaintedScrollbarLayer::FakePaintedScrollbarLayer(
FakeScrollbar* fake_scrollbar,
- int scrolling_layer_id,
ElementId scrolling_element_id)
: PaintedScrollbarLayer(std::unique_ptr<Scrollbar>(fake_scrollbar),
- scrolling_layer_id,
scrolling_element_id),
update_count_(0),
push_properties_count_(0),

Powered by Google App Engine
This is Rietveld 408576698