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

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: clean up 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 9f16b5aceca6e5b6622edaef8042a25375b52186..42b939343315091f05d0c4aee9571713d6de8f85 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::AllocationsSizeAndCount>&
Dmitry Skiba 2016/04/14 19:07:30 Yup, we should typedef this monstrosity.
ssid 2016/04/14 20:17:11 Not adding as suggested by primiano.
+ metrics_by_context,
base::trace_event::TraceEventMemoryOverhead& overhead,
const char* allocator_name) override;

Powered by Google App Engine
This is Rietveld 408576698