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

Unified Diff: cc/layers/layer_proto_converter.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_proto_converter.h
diff --git a/cc/layers/layer_proto_converter.h b/cc/layers/layer_proto_converter.h
index 7f2742b9467b10d14e73d192dade76c483c0fc7a..489be3f1be73464d837136a2d70707debbd9f9a9 100644
--- a/cc/layers/layer_proto_converter.h
+++ b/cc/layers/layer_proto_converter.h
@@ -5,6 +5,8 @@
#ifndef CC_LAYERS_LAYER_PROTO_CONVERTER_H_
#define CC_LAYERS_LAYER_PROTO_CONVERTER_H_
+#include <unordered_map>
+
#include "base/macros.h"
#include "cc/base/cc_export.h"
#include "cc/layers/layer.h"
@@ -62,7 +64,7 @@ class CC_EXPORT LayerProtoConverter {
Layer* root_layer,
proto::LayerUpdate* layer_update);
- using LayerIdMap = base::hash_map<int, scoped_refptr<Layer>>;
+ using LayerIdMap = std::unordered_map<int, scoped_refptr<Layer>>;
// Start at |layer| and recursively add |layer| and all its children and
// special layers to |layer_id_map|.
static void RecursivelyFindAllLayers(const scoped_refptr<Layer>& layer,

Powered by Google App Engine
This is Rietveld 408576698