| Index: chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
|
| diff --git a/chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc b/chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
|
| index 2edbd379a8539128ee5e291e10c81a484e7f5c1b..4a458091dbfab43d89a8df9285e66647cb15e869 100644
|
| --- a/chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
|
| +++ b/chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
|
| @@ -37,7 +37,7 @@ void AppShimHostManagerTestApi::SetExtensionAppShimHandler(
|
| // profile destruction.
|
| for (Profile* profile :
|
| g_browser_process->profile_manager()->GetLoadedProfiles()) {
|
| - apps::AppLifetimeMonitorFactory::GetForProfile(profile)
|
| + apps::AppLifetimeMonitorFactory::GetForBrowserContext(profile)
|
| ->RemoveObserver(handler.get());
|
| }
|
| }
|
|
|