Index: content/child/child_thread_impl.cc |
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc |
index 977d87a566ec04e003f288de6b234c69f07f4cbe..f8681844110b57c7247f1d52a9d85089b123dc5f 100644 |
--- a/content/child/child_thread_impl.cc |
+++ b/content/child/child_thread_impl.cc |
@@ -67,6 +67,7 @@ |
#include "mojo/public/cpp/system/platform_handle.h" |
#include "services/device/public/cpp/power_monitor/power_monitor_broadcast_source.h" |
#include "services/device/public/interfaces/constants.mojom.h" |
+#include "services/resource_coordinator/public/cpp/memory/memory_dump_manager_delegate_impl.h" |
#include "services/service_manager/public/cpp/connector.h" |
#include "services/service_manager/public/cpp/interface_factory.h" |
#include "services/service_manager/public/cpp/interface_provider.h" |
@@ -505,6 +506,10 @@ void ChildThreadImpl::Init(const Options& options) { |
channel_->AddFilter(new tracing::ChildTraceMessageFilter( |
ChildProcess::current()->io_task_runner())); |
channel_->AddFilter(new ChildMemoryMessageFilter()); |
+ |
+ auto delegate = |
+ memory_instrumentation::MemoryDumpManagerDelegateImpl::GetInstance(); |
+ delegate->InitializeWithInterfaceProvider(GetRemoteInterfaces()); |
} |
// In single process mode we may already have a power monitor, |