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

Unified Diff: cc/test/ordered_texture_map.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/test/ordered_texture_map.h
diff --git a/cc/test/ordered_texture_map.h b/cc/test/ordered_texture_map.h
index 8b2a6ca912b0aea5b44e6f1c6cfc31e760bbcdee..7239912219e535e073c9ec6e4f517593cf5fa374 100644
--- a/cc/test/ordered_texture_map.h
+++ b/cc/test/ordered_texture_map.h
@@ -7,9 +7,9 @@
#include <stddef.h>
+#include <unordered_map>
#include <vector>
-#include "base/containers/hash_tables.h"
#include "base/memory/ref_counted.h"
#include "third_party/khronos/GLES2/gl2.h"
@@ -34,7 +34,7 @@ class OrderedTextureMap {
GLuint IdAt(size_t index);
private:
- typedef base::hash_map<GLuint, scoped_refptr<TestTexture>> TextureMap;
+ typedef std::unordered_map<GLuint, scoped_refptr<TestTexture>> TextureMap;
typedef std::vector<GLuint> TextureList;
TextureMap textures_;

Powered by Google App Engine
This is Rietveld 408576698