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

Unified Diff: third_party/WebKit/Source/platform/web_process_memory_dump_impl.h

Issue 1877313003: [tracing] Track number of allocations in heap profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix indentation. Created 4 years, 8 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
Index: third_party/WebKit/Source/platform/web_process_memory_dump_impl.h
diff --git a/third_party/WebKit/Source/platform/web_process_memory_dump_impl.h b/third_party/WebKit/Source/platform/web_process_memory_dump_impl.h
index e1ee7bf1cd0a054b30e4a157fb61860ac7c57348..b88577216ff98868870aebbf62e6b0278cb24211 100644
--- a/third_party/WebKit/Source/platform/web_process_memory_dump_impl.h
+++ b/third_party/WebKit/Source/platform/web_process_memory_dump_impl.h
@@ -78,8 +78,8 @@ class PLATFORM_EXPORT WebProcessMemoryDumpImpl final
base::DiscardableMemory* discardable) override;
void dumpHeapUsage(
- const base::hash_map<base::trace_event::AllocationContext, size_t>&
- bytes_by_context,
+ const base::hash_map<base::trace_event::AllocationContext, base::trace_event::AllocationMetrics>&
+ metrics_by_context,
base::trace_event::TraceEventMemoryOverhead& overhead,
const char* allocator_name) override;

Powered by Google App Engine
This is Rietveld 408576698