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..89ea3215c6a5268745a25c1ee3434166c1218c5b 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( |
+ false /* is_coordinator */, this /* delegate */); |
} |
-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_; |
} |