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

Unified Diff: gpu/command_buffer/client/query_tracker.h

Issue 9836098: Move gpu hash_tables and atomicops stuff (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add hash tables to gyp Created 8 years, 9 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 | « gpu/command_buffer/client/hash_tables.h ('k') | gpu/command_buffer/client/query_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/query_tracker.h
diff --git a/gpu/command_buffer/client/query_tracker.h b/gpu/command_buffer/client/query_tracker.h
index 8bd4059d90337c3e28097b19fb940c3edc20c296..97464978b13e94e88f0310cecb2561b109304c58 100644
--- a/gpu/command_buffer/client/query_tracker.h
+++ b/gpu/command_buffer/client/query_tracker.h
@@ -9,11 +9,7 @@
#include <queue>
#include "../../gpu_export.h"
-#if defined(__native_client__)
- #include <tr1/unordered_map>
-#else
- #include "base/hash_tables.h"
-#endif
+#include "../client/hash_tables.h"
#include "../common/gles2_cmd_format.h"
namespace gpu {
@@ -152,11 +148,7 @@ class GPU_EXPORT QueryTracker {
void RemoveQuery(GLuint id);
private:
- #if defined(__native_client__)
- typedef std::tr1::unordered_map<GLuint, Query*> QueryMap;
- #else
- typedef base::hash_map<GLuint, Query*> QueryMap;
- #endif
+ typedef gpu::hash_map<GLuint, Query*> QueryMap;
QueryMap queries_;
QuerySyncManager query_sync_manager_;
« no previous file with comments | « gpu/command_buffer/client/hash_tables.h ('k') | gpu/command_buffer/client/query_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698