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

Unified Diff: cc/animation/scroll_offset_animations.h

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/animation/scroll_offset_animations.h
diff --git a/cc/animation/scroll_offset_animations.h b/cc/animation/scroll_offset_animations.h
index 3d2e33b174eb2ab1385d57032e8f5d32756b8b01..a7fe2c03e72d951fd3125bc0115e89043cf8ad00 100644
--- a/cc/animation/scroll_offset_animations.h
+++ b/cc/animation/scroll_offset_animations.h
@@ -51,7 +51,7 @@ class CC_ANIMATION_EXPORT ScrollOffsetAnimations {
ScrollOffsetAnimationUpdate GetUpdateForElementId(ElementId) const;
using ElementToUpdateMap =
- std::unordered_map<ElementId, ScrollOffsetAnimationUpdate, ElementIdHash>;
+ std::unordered_map<ElementId::Id, ScrollOffsetAnimationUpdate>;
ElementToUpdateMap element_to_update_map_;
AnimationHost* animation_host_;

Powered by Google App Engine
This is Rietveld 408576698