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

Unified Diff: cc/animation/animation_registrar.h

Issue 1587283002: Switch cc to std::unordered_*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unordered-map
Patch Set: Created 4 years, 11 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_registrar.h
diff --git a/cc/animation/animation_registrar.h b/cc/animation/animation_registrar.h
index 5cb21e96a023bca5f435c785b203113a64578008..317a4483889ead3b661b3fa8460bfd08c287d68d 100644
--- a/cc/animation/animation_registrar.h
+++ b/cc/animation/animation_registrar.h
@@ -5,7 +5,8 @@
#ifndef CC_ANIMATION_ANIMATION_REGISTRAR_H_
#define CC_ANIMATION_ANIMATION_REGISTRAR_H_
-#include "base/containers/hash_tables.h"
+#include <unordered_map>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
@@ -18,7 +19,8 @@ class LayerAnimationController;
class CC_EXPORT AnimationRegistrar {
public:
- typedef base::hash_map<int, LayerAnimationController*> AnimationControllerMap;
+ typedef std::unordered_map<int, LayerAnimationController*>
danakj 2016/01/14 21:12:32 would you mind changing "typedef" to "using" when
davidben 2016/01/21 01:33:57 Done. There's actually quite a lot of those...
+ AnimationControllerMap;
static scoped_ptr<AnimationRegistrar> Create() {
return make_scoped_ptr(new AnimationRegistrar());

Powered by Google App Engine
This is Rietveld 408576698