Index: base/trace_event/heap_profiler_allocation_register.h |
diff --git a/base/trace_event/heap_profiler_allocation_register.h b/base/trace_event/heap_profiler_allocation_register.h |
index d6a02faeaeaacca487e3ff13d7f71dac34768da1..35967e5b70e6e7af1867033408394033c044fcb5 100644 |
--- a/base/trace_event/heap_profiler_allocation_register.h |
+++ b/base/trace_event/heap_profiler_allocation_register.h |
@@ -13,6 +13,7 @@ |
#include "base/bits.h" |
#include "base/logging.h" |
#include "base/macros.h" |
+#include "base/memory/address_hasher.h" |
#include "base/process/process_metrics.h" |
#include "base/template_util.h" |
#include "base/trace_event/heap_profiler_allocation_context.h" |
@@ -341,10 +342,6 @@ class BASE_EXPORT AllocationRegister { |
BacktraceMap::KVIndex backtrace_index; |
}; |
- struct AddressHasher { |
- size_t operator () (const void* address) const; |
- }; |
- |
using AllocationMap = internal::FixedHashMap< |
kAllocationBuckets, |
const void*, |