Index: chrome/browser/chromeos/file_system_provider/service_factory.cc |
diff --git a/chrome/browser/chromeos/file_system_provider/service_factory.cc b/chrome/browser/chromeos/file_system_provider/service_factory.cc |
index 7322376bc2d0855cb5427549387535f6d76ac72e..b54a11e1c909e73696e1a7eef23b5ae6fb6a5cba 100644 |
--- a/chrome/browser/chromeos/file_system_provider/service_factory.cc |
+++ b/chrome/browser/chromeos/file_system_provider/service_factory.cc |
@@ -42,9 +42,8 @@ ServiceFactory::~ServiceFactory() {} |
KeyedService* ServiceFactory::BuildServiceInstanceFor( |
content::BrowserContext* profile) const { |
- return new Service( |
- Profile::FromBrowserContext(profile), |
- extensions::ExtensionRegistry::Get(Profile::FromBrowserContext(profile))); |
+ return new Service(Profile::FromBrowserContext(profile), |
+ extensions::ExtensionRegistry::Get(profile)); |
} |
bool ServiceFactory::ServiceIsCreatedWithBrowserContext() const { return true; } |