Index: components/metrics/leak_detector/leak_detector_impl.h |
diff --git a/components/metrics/leak_detector/leak_detector_impl.h b/components/metrics/leak_detector/leak_detector_impl.h |
index daa104180abd9de2e3315ef066fced5b82232acb..8af99ff0ef4696e8d55d669a2ba6be082faf846c 100644 |
--- a/components/metrics/leak_detector/leak_detector_impl.h |
+++ b/components/metrics/leak_detector/leak_detector_impl.h |
@@ -15,6 +15,7 @@ |
#include "components/metrics/leak_detector/call_stack_manager.h" |
#include "components/metrics/leak_detector/custom_allocator.h" |
#include "components/metrics/leak_detector/leak_analyzer.h" |
+#include "components/metrics/leak_detector/stl_allocator.h" |
namespace metrics { |
namespace leak_detector { |
@@ -104,7 +105,7 @@ class LeakDetectorImpl { |
// Allocator class for allocation entry map. Maps allocated addresses to |
// AllocInfo objects. |
using AllocationEntryAllocator = |
- STLAllocator<std::pair<const void*, AllocInfo>, CustomAllocator>; |
+ STLAllocator<std::pair<const uintptr_t, AllocInfo>, CustomAllocator>; |
// Hash class for addresses. |
struct AddressHash { |