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

Unified Diff: cc/layers/scrollbar_layer_interface.h

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/layers/scrollbar_layer_interface.h
diff --git a/cc/layers/scrollbar_layer_interface.h b/cc/layers/scrollbar_layer_interface.h
index 917f709863cc9a9f2d374477b41850115015bf39..7839c8e68cbed94221d8210c4af08c1d3e2ce2f8 100644
--- a/cc/layers/scrollbar_layer_interface.h
+++ b/cc/layers/scrollbar_layer_interface.h
@@ -14,8 +14,7 @@ namespace cc {
class CC_EXPORT ScrollbarLayerInterface {
public:
virtual ElementId scroll_element_id() const = 0;
- // TODO(pdr): Remove layer_id and refactor scrollbars to just use element ids.
- virtual void SetScrollInfo(int layer_id, ElementId element_id) = 0;
+ virtual void SetScrollElementId(ElementId element_id) = 0;
virtual ScrollbarOrientation orientation() const = 0;

Powered by Google App Engine
This is Rietveld 408576698