summaryrefslogtreecommitdiffstats
path: root/ui/gfx/generic_shared_memory_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/generic_shared_memory_id.h')
-rw-r--r--ui/gfx/generic_shared_memory_id.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/gfx/generic_shared_memory_id.h b/ui/gfx/generic_shared_memory_id.h
index b18c869..51f553b 100644
--- a/ui/gfx/generic_shared_memory_id.h
+++ b/ui/gfx/generic_shared_memory_id.h
@@ -8,8 +8,6 @@
#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"
@@ -60,7 +58,7 @@ template <typename Second>
struct hash<std::pair<gfx::GenericSharedMemoryId, Second>> {
size_t operator()(
const std::pair<gfx::GenericSharedMemoryId, Second>& pair) const {
- return base::HashInts(pair.first.id, pair.second);
+ return base::HashPair(pair.first.id, pair.second);
}
};