Index: base/trace_event/memory_dump_manager.cc |
diff --git a/base/trace_event/memory_dump_manager.cc b/base/trace_event/memory_dump_manager.cc |
index a5492028f4ec8b534369b8246503eae416ca4bbe..2b9bc380ecca1848f269a86cba93623c94cc3bb2 100644 |
--- a/base/trace_event/memory_dump_manager.cc |
+++ b/base/trace_event/memory_dump_manager.cc |
@@ -143,7 +143,7 @@ void MemoryDumpManager::EnableHeapProfilingIfNeeded() { |
AllocationContextTracker::SetCaptureEnabled(true); |
for (auto mdp : dump_providers_) |
- mdp->dump_provider->OnHeapProfilingEnabled(true); |
+ mdp->dump_provider->OnHeapProfilingEnabled(); |
heap_profiling_enabled_ = true; |
} |
@@ -202,7 +202,7 @@ void MemoryDumpManager::RegisterDumpProvider( |
} |
if (heap_profiling_enabled_) |
- mdp->OnHeapProfilingEnabled(true); |
+ mdp->OnHeapProfilingEnabled(); |
} |
void MemoryDumpManager::RegisterDumpProvider( |