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

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: 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/BUILD.gn ('k') | cc/animation/animation_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_host.h
diff --git a/cc/animation/animation_host.h b/cc/animation/animation_host.h
index f8b645034e046957d9460c71163beb20ebc68498..4a7ffbfbb1accf7e63c933e1f2d3011fc6d0465b 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> CreateMainInstance();
static std::unique_ptr<AnimationHost> CreateForTesting(
« no previous file with comments | « cc/BUILD.gn ('k') | cc/animation/animation_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698