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

Unified Diff: content/common/gpu/gpu_memory_manager_unittest.cc

Issue 612323010: Align base::hash_map with C++11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try a different tack for C++ insanity Created 6 years, 2 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: content/common/gpu/gpu_memory_manager_unittest.cc
diff --git a/content/common/gpu/gpu_memory_manager_unittest.cc b/content/common/gpu/gpu_memory_manager_unittest.cc
index cf9e7cfffe98a92f3e1bb0e7b0a25d318fc92db5..72017bab294e6cb7ff356f64d4399a9970485927 100644
--- a/content/common/gpu/gpu_memory_manager_unittest.cc
+++ b/content/common/gpu/gpu_memory_manager_unittest.cc
@@ -12,17 +12,6 @@
using gpu::MemoryAllocation;
-#if defined(COMPILER_GCC)
-namespace BASE_HASH_NAMESPACE {
-template<>
-struct hash<content::GpuMemoryManagerClient*> {
- uint64 operator()(content::GpuMemoryManagerClient* ptr) const {
- return hash<uint64>()(reinterpret_cast<uint64>(ptr));
- }
-};
-} // namespace BASE_HASH_NAMESPACE
-#endif // COMPILER
-
class FakeMemoryTracker : public gpu::gles2::MemoryTracker {
public:
virtual void TrackMemoryAllocatedChange(

Powered by Google App Engine
This is Rietveld 408576698