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

Unified Diff: cc/layers/layer.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/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index ef5da3359dcdbb11e1b719f4fa0b30ceeb33d280..0e6fc4c9450b888872d28c20076fc7dd9e026d87 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -10,6 +10,7 @@
#include <set>
#include <string>
+#include <unordered_map>
#include <vector>
#include "base/callback.h"
@@ -83,7 +84,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
public LayerAnimationValueProvider {
public:
typedef LayerList LayerListType;
- typedef base::hash_map<int, scoped_refptr<Layer>> LayerIdMap;
+ typedef std::unordered_map<int, scoped_refptr<Layer>> LayerIdMap;
enum LayerIdLabels {
INVALID_ID = -1,

Powered by Google App Engine
This is Rietveld 408576698