| Index: chrome/browser/extensions/menu_manager_factory.cc
|
| diff --git a/chrome/browser/extensions/menu_manager_factory.cc b/chrome/browser/extensions/menu_manager_factory.cc
|
| index 33c3f74f075f097b2fac455e659abce66039196e..60fa844d99f4afbecae48e7d9fa0bf3086edc5fa 100644
|
| --- a/chrome/browser/extensions/menu_manager_factory.cc
|
| +++ b/chrome/browser/extensions/menu_manager_factory.cc
|
| @@ -25,12 +25,6 @@
|
| return Singleton<MenuManagerFactory>::get();
|
| }
|
|
|
| -// static
|
| -KeyedService* MenuManagerFactory::BuildServiceInstanceForTesting(
|
| - content::BrowserContext* context) {
|
| - return GetInstance()->BuildServiceInstanceFor(context);
|
| -}
|
| -
|
| MenuManagerFactory::MenuManagerFactory()
|
| : BrowserContextKeyedServiceFactory(
|
| "MenuManager",
|
| @@ -43,7 +37,9 @@
|
| KeyedService* MenuManagerFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| Profile* profile = Profile::FromBrowserContext(context);
|
| - return new MenuManager(profile, ExtensionSystem::Get(profile)->state_store());
|
| + return new MenuManager(
|
| + profile,
|
| + ExtensionSystem::Get(profile)->state_store());
|
| }
|
|
|
| content::BrowserContext* MenuManagerFactory::GetBrowserContextToUse(
|
|
|