Index: base/trace_event/malloc_dump_provider.cc |
diff --git a/base/trace_event/malloc_dump_provider.cc b/base/trace_event/malloc_dump_provider.cc |
index be6efc866a363810bc87057b180624b61c1fabd1..eabe50ee216205740fb5be052be89febecc502fa 100644 |
--- a/base/trace_event/malloc_dump_provider.cc |
+++ b/base/trace_event/malloc_dump_provider.cc |
@@ -195,8 +195,7 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args, |
if (!metrics_by_context.empty()) { |
std::unique_ptr<TracedValue> heap_dump = ExportHeapDump( |
- metrics_by_context, pmd->session_state()->stack_frame_deduplicator(), |
- pmd->session_state()->type_name_deduplicator()); |
+ metrics_by_context, *pmd->session_state()); |
pmd->AddHeapDump("malloc", std::move(heap_dump)); |
} |
overhead.DumpInto("tracing/heap_profiler_malloc", pmd); |