Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Unified Diff: components/metrics/leak_detector/call_stack_table.h

Issue 1615713003: Allow std::unordered_*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: leak_detector fixes and git cl format Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/favicon_base/favicon_util.cc ('k') | components/metrics/leak_detector/leak_detector_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « components/favicon_base/favicon_util.cc ('k') | components/metrics/leak_detector/leak_detector_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698