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

Unified Diff: cc/animation/animation_host.h

Issue 1973083002: Use element id's for animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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/animation_host.h
diff --git a/cc/animation/animation_host.h b/cc/animation/animation_host.h
index 8f5ff14a725896cf659af1c1e2be403ab2d98cee..318baf0be273b6e20b969dad16bdbafa4331bde1 100644
--- a/cc/animation/animation_host.h
+++ b/cc/animation/animation_host.h
@@ -45,7 +45,9 @@ enum class ThreadInstance { MAIN, IMPL };
class CC_EXPORT AnimationHost {
public:
using ElementToAnimationsMap =
- std::unordered_map<ElementId, scoped_refptr<ElementAnimations>>;
+ std::unordered_map<ElementId,
+ scoped_refptr<ElementAnimations>,
+ ElementIdHash>;
static std::unique_ptr<AnimationHost> Create(ThreadInstance thread_instance);
~AnimationHost();
« no previous file with comments | « cc/BUILD.gn ('k') | cc/animation/animation_host.cc » ('j') | cc/animation/element_id.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698