Index: content/browser/tracing/tracing_controller_impl.cc |
diff --git a/content/browser/tracing/tracing_controller_impl.cc b/content/browser/tracing/tracing_controller_impl.cc |
index d69cab97c67ff019d590ba34dc0cb10e7a167613..708841bf40ef443babf4ed01f05a49627f97e41d 100644 |
--- a/content/browser/tracing/tracing_controller_impl.cc |
+++ b/content/browser/tracing/tracing_controller_impl.cc |
@@ -59,7 +59,8 @@ TracingControllerImpl::TracingControllerImpl() |
is_recording_(TraceLog::GetInstance()->IsEnabled()), |
is_monitoring_(false), |
is_power_tracing_(false) { |
- base::trace_event::MemoryDumpManager::GetInstance()->SetDelegate(this); |
+ base::trace_event::MemoryDumpManager::GetInstance()->Initialize( |
+ this /* delegate */, true /* is_coordinator */); |
// Deliberately leaked, like this class. |
base::FileTracing::SetProvider(new FileTracingProviderImpl); |
@@ -846,10 +847,6 @@ void TracingControllerImpl::RequestGlobalMemoryDump( |
tmf->SendProcessMemoryDumpRequest(args); |
} |
-bool TracingControllerImpl::IsCoordinatorProcess() const { |
- return true; |
-} |
- |
uint64 TracingControllerImpl::GetTracingProcessId() const { |
return ChildProcessHost::kBrowserTracingProcessId; |
} |