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

Unified Diff: content/child/web_memory_dump_provider_adapter.cc

Issue 1494293005: [Tracing] Enable heap dumps with both type info and backtraces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sfdedup-iter
Patch Set: Avoid reuse and generic code, opt for less helper structs instead Created 5 years 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: content/child/web_memory_dump_provider_adapter.cc
diff --git a/content/child/web_memory_dump_provider_adapter.cc b/content/child/web_memory_dump_provider_adapter.cc
index d5fbdfbe5011fc1f3f7251bcdd99551f389252f2..5556f03dc308478ad79b342be0a29bf7f2297a41 100644
--- a/content/child/web_memory_dump_provider_adapter.cc
+++ b/content/child/web_memory_dump_provider_adapter.cc
@@ -89,7 +89,7 @@ bool WebMemoryDumpProviderAdapter::OnMemoryDump(
g_allocation_register->EstimateTraceMemoryOverhead(&overhead);
}
- pmd->AddHeapDump("partition_alloc", writer.WriteHeapDump());
+ pmd->AddHeapDump("partition_alloc", HeapDumpWriter::Write(writer.Dump()));
overhead.DumpInto("tracing/heap_profiler", pmd);
}

Powered by Google App Engine
This is Rietveld 408576698