Index: components/metrics/leak_detector/call_stack_table.h |
diff --git a/components/metrics/leak_detector/call_stack_table.h b/components/metrics/leak_detector/call_stack_table.h |
index 08503b3ff7d407f66f024e5af2450ebb0fb990c0..42657c8185bc1918dee6ae74be14ec1880ad7a06 100644 |
--- a/components/metrics/leak_detector/call_stack_table.h |
+++ b/components/metrics/leak_detector/call_stack_table.h |
@@ -64,7 +64,7 @@ class CallStackTable { |
// Hash table containing entries. Uses CustomAllocator to avoid recursive |
// malloc hook invocation when analyzing allocs and frees. |
using TableEntryAllocator = |
- STLAllocator<std::pair<const CallStack*, Entry>, CustomAllocator>; |
+ STLAllocator<std::pair<const CallStack* const, Entry>, CustomAllocator>; |
base::hash_map<const CallStack*, |
Entry, |
StoredHash, |