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

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: 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/test_texture.h
diff --git a/cc/test/test_texture.h b/cc/test/test_texture.h
index c5b6e21d40efe95e4cfc93253d52ef27aa4e7235..13d57c13e28c356e4ecfcb058c6a7b12017077a3 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;
+ typedef std::unordered_map<GLenum, GLint> TextureParametersMap;
TextureParametersMap params;
private:

Powered by Google App Engine
This is Rietveld 408576698