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

Unified Diff: cc/test/test_texture.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/ordered_texture_map.h ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_texture.h
diff --git a/cc/test/test_texture.h b/cc/test/test_texture.h
index c5b6e21d40efe95e4cfc93253d52ef27aa4e7235..6661aede16f72f87cfe26786346b36481551eb89 100644
--- a/cc/test/test_texture.h
+++ b/cc/test/test_texture.h
@@ -8,7 +8,8 @@
#include <stddef.h>
#include <stdint.h>
-#include "base/containers/hash_tables.h"
+#include <unordered_map>
+
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "cc/resources/resource_format.h"
@@ -29,8 +30,7 @@ struct TestTexture : public base::RefCounted<TestTexture> {
ResourceFormat format;
scoped_ptr<uint8_t[]> data;
- typedef base::hash_map<GLenum, GLint>
- TextureParametersMap;
+ using TextureParametersMap = std::unordered_map<GLenum, GLint>;
TextureParametersMap params;
private:
« no previous file with comments | « cc/test/ordered_texture_map.h ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698