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

Unified Diff: cc/trees/layer_tree_host.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/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index f7bd43368c3abde927cf59c358cf6ea2273b141b..edd0974161daeaf73b1f0b4223b6638ac7307ac3 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -11,10 +11,10 @@
#include <limits>
#include <set>
#include <string>
+#include <unordered_map>
#include <vector>
#include "base/cancelable_callback.h"
-#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
@@ -421,7 +421,7 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
gfx::Size size;
};
- typedef base::hash_map<UIResourceId, UIResourceClientData>
+ typedef std::unordered_map<UIResourceId, UIResourceClientData>
UIResourceClientMap;
UIResourceClientMap ui_resource_client_map_;
int next_ui_resource_id_;
@@ -515,7 +515,7 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
PropertyTrees property_trees_;
- typedef base::hash_map<int, Layer*> LayerIdMap;
+ typedef std::unordered_map<int, Layer*> LayerIdMap;
LayerIdMap layer_id_map_;
uint32_t surface_id_namespace_;

Powered by Google App Engine
This is Rietveld 408576698