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