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

Unified Diff: base/trace_event/heap_profiler_allocation_register.h

Issue 2705023002: [Experimental, DO NOT LAND] bucket num 16
Patch Set: impl Created 3 years, 10 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 | « base/memory/shared_memory_tracker.cc ('k') | base/trace_event/heap_profiler_allocation_register.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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*,
« no previous file with comments | « base/memory/shared_memory_tracker.cc ('k') | base/trace_event/heap_profiler_allocation_register.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698