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

Unified Diff: cc/test/fake_painted_scrollbar_layer.h

Issue 2816063003: Replace layer id with Element id for tracking scrollbar animation controllers (Closed)
Patch Set: Fix flaky LayerTreeHostImplTestScrollbarOpacity.Android 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.h
diff --git a/cc/test/fake_painted_scrollbar_layer.h b/cc/test/fake_painted_scrollbar_layer.h
index bbb38cdfb8fad9c9260b61c0f990e0195f92fedc..d3370ddc2028ae8d078dc5821ea9aaf9c4b142d1 100644
--- a/cc/test/fake_painted_scrollbar_layer.h
+++ b/cc/test/fake_painted_scrollbar_layer.h
@@ -21,14 +21,16 @@ class FakePaintedScrollbarLayer : public PaintedScrollbarLayer {
static scoped_refptr<FakePaintedScrollbarLayer> Create(
bool paint_during_update,
bool has_thumb,
- int scrolling_layer_id);
+ int scrolling_layer_id,
+ ElementId scrolling_element_id);
static scoped_refptr<FakePaintedScrollbarLayer> Create(
bool paint_during_update,
bool has_thumb,
ScrollbarOrientation orientation,
bool is_left_side_vertical_scrollbar,
bool is_overlay,
- int scrolling_layer_id);
+ int scrolling_layer_id,
+ ElementId scrolling_element_id);
int update_count() const { return update_count_; }
void reset_update_count() { update_count_ = 0; }
@@ -56,7 +58,8 @@ class FakePaintedScrollbarLayer : public PaintedScrollbarLayer {
private:
FakePaintedScrollbarLayer(FakeScrollbar* fake_scrollbar,
- int scrolling_layer_id);
+ int scrolling_layer_id,
+ ElementId scrolling_element_id);
~FakePaintedScrollbarLayer() override;
int update_count_;

Powered by Google App Engine
This is Rietveld 408576698