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

Unified Diff: components/metrics/leak_detector/leak_detector_impl.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/metrics/leak_detector/call_stack_table.h ('k') | components/mus/ws/display_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « components/metrics/leak_detector/call_stack_table.h ('k') | components/mus/ws/display_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698