Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index b26c59b3b3c371eb15ec95257c78c08f0cc64e4f..dbfef169014f47da6c3b98caa81e26674a5c2727 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -726,6 +726,10 @@ int BrowserMainLoop::PreCreateThreads() { |
if (memory_coordinator::IsEnabled()) { |
memory_coordinator_.reset(new memory_coordinator::MemoryCoordinator); |
+ if (memory_pressure_monitor_.get()) { |
+ memory_pressure_monitor_->SetDispatchCallback( |
+ memory_coordinator_->pressure_level_dispatcher()); |
+ } |
} |
#if defined(ENABLE_PLUGINS) |