Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 02b0a5714686eac96ae977e7d293c1f0416373f0..b652408781292dcabc393cb8919471f25ea4acb3 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -1400,6 +1400,10 @@ void BrowserMainLoop::InitializeMemoryManagementComponent() { |
SetGetCurrentMemoryStateCallback(base::Bind( |
&MemoryCoordinator::GetCurrentMemoryState, |
base::Unretained(MemoryCoordinator::GetInstance()))); |
+ base::MemoryCoordinatorProxy::GetInstance()-> |
+ SetSetCurrentMemoryStateForTestingCallback(base::Bind( |
+ &MemoryCoordinator::SetCurrentMemoryStateForTesting, |
+ base::Unretained(MemoryCoordinator::GetInstance()))); |
return; |
} |