| Index: chrome/browser/extensions/extension_system_impl.cc
|
| diff --git a/chrome/browser/extensions/extension_system_impl.cc b/chrome/browser/extensions/extension_system_impl.cc
|
| index 17930a55c042905a49a976d290f1a2ed2cdca0ae..ddaf85214ebd97e6b17fb672e8e6977095387042 100644
|
| --- a/chrome/browser/extensions/extension_system_impl.cc
|
| +++ b/chrome/browser/extensions/extension_system_impl.cc
|
| @@ -335,8 +335,8 @@ void ExtensionSystemImpl::Shared::Observe(
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| DCHECK_EQ(chrome::NOTIFICATION_APP_TERMINATING, type);
|
| - CHECK(apps::AppRestoreServiceFactory::GetForProfile(profile_));
|
| - apps::AppRestoreServiceFactory::GetForProfile(profile_)
|
| + CHECK(apps::AppRestoreServiceFactory::GetForBrowserContext(profile_));
|
| + apps::AppRestoreServiceFactory::GetForBrowserContext(profile_)
|
| ->OnApplicationTerminating();
|
| }
|
|
|
|
|