Index: ui/gfx/generic_shared_memory_id.h |
diff --git a/ui/gfx/generic_shared_memory_id.h b/ui/gfx/generic_shared_memory_id.h |
index 51f553b2ddafb59aa88b38393cddede3910f53c0..b18c869e2cc61bea825ba0d15a588accf00cb68d 100644 |
--- a/ui/gfx/generic_shared_memory_id.h |
+++ b/ui/gfx/generic_shared_memory_id.h |
@@ -8,6 +8,8 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include "base/containers/hash_tables.h" |
+#include "base/hash.h" |
#include "base/trace_event/memory_allocator_dump.h" |
#include "ui/gfx/gfx_export.h" |
@@ -58,7 +60,7 @@ template <typename Second> |
struct hash<std::pair<gfx::GenericSharedMemoryId, Second>> { |
size_t operator()( |
const std::pair<gfx::GenericSharedMemoryId, Second>& pair) const { |
- return base::HashPair(pair.first.id, pair.second); |
+ return base::HashInts(pair.first.id, pair.second); |
} |
}; |