Chromium Code Reviews| Index: chrome/browser/ui/app_list/app_list_syncable_service_factory.cc |
| diff --git a/chrome/browser/ui/app_list/app_list_syncable_service_factory.cc b/chrome/browser/ui/app_list/app_list_syncable_service_factory.cc |
| index 616bd0cfc1801f3bd045b675e4b7ab70c68840ad..98f49b1a764c978d53a3fdbec62e2b447def167e 100644 |
| --- a/chrome/browser/ui/app_list/app_list_syncable_service_factory.cc |
| +++ b/chrome/browser/ui/app_list/app_list_syncable_service_factory.cc |
| @@ -40,9 +40,7 @@ BrowserContextKeyedService* |
| AppListSyncableServiceFactory::BuildServiceInstanceFor( |
| content::BrowserContext* browser_context) const { |
| Profile* profile = static_cast<Profile*>(browser_context); |
| - ExtensionService* extension_service = |
| - extensions::ExtensionSystem::Get(profile)->extension_service(); |
| - return new AppListSyncableService(profile, extension_service); |
| + return new AppListSyncableService(profile); |
|
tapted
2013/12/19 01:20:57
Is there a secondary reason for this change, apart
stevenjb
2013/12/19 01:48:44
Hmm, I guess that's a fair point. I did this so th
tapted
2013/12/19 02:18:02
Hm. Caching the extension service data member/cach
|
| } |
| void AppListSyncableServiceFactory::RegisterProfilePrefs( |