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

Unified Diff: cc/layers/solid_color_scrollbar_layer.cc

Issue 2860293002: Change cc::ElementId to be a uint64_t (Closed)
Patch Set: none Created 3 years, 7 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/solid_color_scrollbar_layer.cc
diff --git a/cc/layers/solid_color_scrollbar_layer.cc b/cc/layers/solid_color_scrollbar_layer.cc
index eecf15dbd9b834e3c14f4b34b32cc3b6e612433f..1499a0882320b73914be6b9e88142b9b3c8c06d6 100644
--- a/cc/layers/solid_color_scrollbar_layer.cc
+++ b/cc/layers/solid_color_scrollbar_layer.cc
@@ -100,7 +100,7 @@ ElementId SolidColorScrollbarLayer::scroll_element_id() const {
}
void SolidColorScrollbarLayer::SetScrollElementId(ElementId element_id) {
- if (element_id == solid_color_scrollbar_layer_inputs_.scroll_element_id)
+ if (element_id.id == solid_color_scrollbar_layer_inputs_.scroll_element_id.id)
wkorman 2017/05/08 18:23:24 Can't we rely on operator== here?
return;
solid_color_scrollbar_layer_inputs_.scroll_element_id = element_id;

Powered by Google App Engine
This is Rietveld 408576698