Chromium Code Reviews| 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()); |