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

Unified Diff: cc/layers/scrollbar_layer_impl_base.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_impl_base.h
diff --git a/cc/layers/scrollbar_layer_impl_base.h b/cc/layers/scrollbar_layer_impl_base.h
index 21f4d6aadae400c0f30f492d05cf2417afc2b5b7..a7a7232d6b0930d549241ed0d7f2c0db8d1353dc 100644
--- a/cc/layers/scrollbar_layer_impl_base.h
+++ b/cc/layers/scrollbar_layer_impl_base.h
@@ -17,10 +17,8 @@ class LayerTreeImpl;
class CC_EXPORT ScrollbarLayerImplBase : public LayerImpl {
public:
- int ScrollLayerId() const { return scroll_layer_id_; }
ElementId scroll_element_id() const { return scroll_element_id_; }
-
- void SetScrollInfo(int scroll_layer_id, ElementId scroll_element_id);
+ void SetScrollElementId(ElementId scroll_element_id);
float current_pos() const { return current_pos_; }
bool SetCurrentPos(float current_pos);
@@ -77,7 +75,6 @@ class CC_EXPORT ScrollbarLayerImplBase : public LayerImpl {
virtual bool IsThumbResizable() const = 0;
private:
- int scroll_layer_id_;
ElementId scroll_element_id_;
bool is_overlay_scrollbar_;

Powered by Google App Engine
This is Rietveld 408576698