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

Unified Diff: cc/animation/scroll_offset_animations.h

Issue 1973083002: Use element id's for animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
« no previous file with comments | « cc/animation/element_id.cc ('k') | cc/blink/web_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/scroll_offset_animations.h
diff --git a/cc/animation/scroll_offset_animations.h b/cc/animation/scroll_offset_animations.h
index 421a31380cdf3bba8dc69de7cf14f674da56228e..67bdb00f5aa8b7e421af87fe0ea15454f930c5a0 100644
--- a/cc/animation/scroll_offset_animations.h
+++ b/cc/animation/scroll_offset_animations.h
@@ -51,7 +51,7 @@ class CC_EXPORT ScrollOffsetAnimations {
ScrollOffsetAnimationUpdate GetUpdateForElementId(ElementId) const;
using ElementToUpdateMap =
- std::unordered_map<ElementId, ScrollOffsetAnimationUpdate>;
+ std::unordered_map<ElementId, ScrollOffsetAnimationUpdate, ElementIdHash>;
ElementToUpdateMap element_to_update_map_;
AnimationHost* animation_host_;
« no previous file with comments | « cc/animation/element_id.cc ('k') | cc/blink/web_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698