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

Unified Diff: cc/animation/layer_animation_controller.h

Issue 1587283002: Switch cc to std::unordered_*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unordered-map
Patch Set: Fix MSVC build issue 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
« no previous file with comments | « cc/animation/animation_timeline.h ('k') | cc/debug/frame_timing_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/layer_animation_controller.h
diff --git a/cc/animation/layer_animation_controller.h b/cc/animation/layer_animation_controller.h
index 9d92017f22ef1090c3fe922a18dae2f95b6af1d8..70c76d104c51241fdc7af58ddd7a0d3b7d1935f9 100644
--- a/cc/animation/layer_animation_controller.h
+++ b/cc/animation/layer_animation_controller.h
@@ -5,9 +5,9 @@
#ifndef CC_ANIMATION_LAYER_ANIMATION_CONTROLLER_H_
#define CC_ANIMATION_LAYER_ANIMATION_CONTROLLER_H_
+#include <unordered_set>
#include <vector>
-#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
@@ -175,7 +175,7 @@ class CC_EXPORT LayerAnimationController
virtual ~LayerAnimationController();
private:
- typedef base::hash_set<int> TargetProperties;
+ using TargetProperties = std::unordered_set<int>;
void PushNewAnimationsToImplThread(
LayerAnimationController* controller_impl) const;
« no previous file with comments | « cc/animation/animation_timeline.h ('k') | cc/debug/frame_timing_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698