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

Unified Diff: cc/animation/animation_host.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
« no previous file with comments | « no previous file | cc/animation/animation_host.cc » ('j') | cc/animation/scroll_offset_animations.cc » ('J')
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 5e4f8e077cb051533a52f7790e0126acff70150a..55e755149f326f3c89e30766a5736522b783f567 100644
--- a/cc/animation/animation_host.h
+++ b/cc/animation/animation_host.h
@@ -47,9 +47,7 @@ class CC_ANIMATION_EXPORT AnimationHost
: public NON_EXPORTED_BASE(MutatorHost) {
public:
using ElementToAnimationsMap =
- std::unordered_map<ElementId,
- scoped_refptr<ElementAnimations>,
- ElementIdHash>;
+ std::unordered_map<ElementId::Id, scoped_refptr<ElementAnimations>>;
wkorman 2017/05/08 18:23:24 My personal preference given our shift to support
using PlayersList = std::vector<scoped_refptr<AnimationPlayer>>;
static std::unique_ptr<AnimationHost> CreateMainInstance();
« no previous file with comments | « no previous file | cc/animation/animation_host.cc » ('j') | cc/animation/scroll_offset_animations.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698