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

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: 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/test/fake_ui_resource_layer_tree_host_impl.h ('k') | cc/test/test_texture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..814c5979045869de99b2397392a44374f307c96d 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,8 +34,8 @@ class OrderedTextureMap {
GLuint IdAt(size_t index);
private:
- typedef base::hash_map<GLuint, scoped_refptr<TestTexture>> TextureMap;
- typedef std::vector<GLuint> TextureList;
+ using TextureMap = std::unordered_map<GLuint, scoped_refptr<TestTexture>>;
+ using TextureList = std::vector<GLuint>;
TextureMap textures_;
TextureList ordered_textures_;
« no previous file with comments | « cc/test/fake_ui_resource_layer_tree_host_impl.h ('k') | cc/test/test_texture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698