| Index: content/renderer/render_thread_impl.cc
|
| diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
| index ef0fc88578b617fbc489495c12c427ec9c98fc66..9a1149293057482cf27d5520bdfd31d2d1370d3b 100644
|
| --- a/content/renderer/render_thread_impl.cc
|
| +++ b/content/renderer/render_thread_impl.cc
|
| @@ -46,6 +46,7 @@
|
| #include "cc/raster/task_graph_runner.h"
|
| #include "cc/trees/layer_tree_host_common.h"
|
| #include "cc/trees/layer_tree_settings.h"
|
| +#include "components/memory_coordinator/child/child_memory_coordinator_impl.h"
|
| #include "components/scheduler/child/compositor_worker_scheduler.h"
|
| #include "components/scheduler/child/webthread_base.h"
|
| #include "components/scheduler/child/webthread_impl_for_worker_scheduler.h"
|
| @@ -825,6 +826,12 @@ void RenderThreadImpl::Init(
|
| base::Bind(&RenderThreadImpl::OnSyncMemoryPressure,
|
| base::Unretained(this))));
|
|
|
| + if (memory_coordinator::IsEnabled()) {
|
| + memory_coordinator_.reset(
|
| + new memory_coordinator::ChildMemoryCoordinatorImpl(
|
| + GetRemoteInterfaces()));
|
| + }
|
| +
|
| int num_raster_threads = 0;
|
| std::string string_value =
|
| command_line.GetSwitchValueASCII(switches::kNumRasterThreads);
|
|
|