| Index: content/renderer/render_thread_impl.cc
|
| diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
| index ab4f08aa972516ff65657aa006a1b3fa2882a3eb..f05ef8d24efce6140f5b5353dbb148c5230d384a 100644
|
| --- a/content/renderer/render_thread_impl.cc
|
| +++ b/content/renderer/render_thread_impl.cc
|
| @@ -1662,7 +1662,9 @@ void RenderThreadImpl::OnProcessPurgeAndSuspend() {
|
| return;
|
|
|
| if (base::FeatureList::IsEnabled(features::kPurgeAndSuspend)) {
|
| - memory_coordinator_->PurgeMemory();
|
| + // TODO(tasak): After enabling MemoryCoordinator, remove this Notify
|
| + // and follow MemoryCoordinator's request.
|
| + base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory();
|
| }
|
| // Since purging is not a synchronous task (e.g. v8 GC, oilpan GC, ...),
|
| // we need to wait until the task is finished. So wait 15 seconds and
|
|
|