| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 1c2f0563339e1c2e50a061de70bbf36b4b93ecab..a907e24f3303bcb9a2946300a6138abfc414e9ba 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -44,6 +44,8 @@
|
| #include "base/tracked_objects.h"
|
| #include "build/build_config.h"
|
| #include "cc/base/switches.h"
|
| +#include "components/memory_coordinator/browser/memory_coordinator_impl.h"
|
| +#include "components/memory_coordinator/common/memory_coordinator_features.h"
|
| #include "components/scheduler/common/scheduler_switches.h"
|
| #include "components/tracing/common/tracing_switches.h"
|
| #include "components/webmessaging/broadcast_channel_provider.h"
|
| @@ -2588,6 +2590,11 @@ void RenderProcessHostImpl::OnProcessLaunched() {
|
| CreateSharedRendererHistogramAllocator();
|
| }
|
|
|
| + if (memory_coordinator::IsEnabled()) {
|
| + BrowserMainLoop::GetInstance()->memory_coordinator()->RendererLaunched(
|
| + GetRemoteInterfaces());
|
| + }
|
| +
|
| // NOTE: This needs to be before sending queued messages because
|
| // ExtensionService uses this notification to initialize the renderer process
|
| // with state that must be there before any JavaScript executes.
|
|
|