Index: components/tracing/child_memory_dump_manager_delegate_impl.cc |
diff --git a/components/tracing/child_memory_dump_manager_delegate_impl.cc b/components/tracing/child_memory_dump_manager_delegate_impl.cc |
index 9222def6254676f760841a6afa3af2392b0e8ff3..c267b2347ba5992c23b1e2002712eb25912240ab 100644 |
--- a/components/tracing/child_memory_dump_manager_delegate_impl.cc |
+++ b/components/tracing/child_memory_dump_manager_delegate_impl.cc |
@@ -21,11 +21,11 @@ ChildMemoryDumpManagerDelegateImpl::ChildMemoryDumpManagerDelegateImpl() |
: ctmf_(nullptr), |
tracing_process_id_( |
base::trace_event::MemoryDumpManager::kInvalidTracingProcessId) { |
- base::trace_event::MemoryDumpManager::GetInstance()->SetDelegate(this); |
+ base::trace_event::MemoryDumpManager::GetInstance()->Initialize( |
+ this /* delegate */, false /* is_coordinator */); |
} |
-ChildMemoryDumpManagerDelegateImpl::~ChildMemoryDumpManagerDelegateImpl() { |
-} |
+ChildMemoryDumpManagerDelegateImpl::~ChildMemoryDumpManagerDelegateImpl() {} |
void ChildMemoryDumpManagerDelegateImpl::SetChildTraceMessageFilter( |
ChildTraceMessageFilter* ctmf) { |
@@ -70,10 +70,6 @@ void ChildMemoryDumpManagerDelegateImpl::RequestGlobalMemoryDump( |
ctmf_->SendGlobalMemoryDumpRequest(args, callback); |
} |
-bool ChildMemoryDumpManagerDelegateImpl::IsCoordinatorProcess() const { |
- return false; |
-} |
- |
uint64 ChildMemoryDumpManagerDelegateImpl::GetTracingProcessId() const { |
return tracing_process_id_; |
} |