Index: chrome/browser/extensions/extension_action_manager.cc |
diff --git a/chrome/browser/extensions/extension_action_manager.cc b/chrome/browser/extensions/extension_action_manager.cc |
index 2dd3a27e8ba630bf46d4bccf3f66bb15606c1480..0ddb1ddda3e59f4e511e02f4b64104b226b096bd 100644 |
--- a/chrome/browser/extensions/extension_action_manager.cc |
+++ b/chrome/browser/extensions/extension_action_manager.cc |
@@ -44,8 +44,8 @@ class ExtensionActionManagerFactory : public ProfileKeyedServiceFactory { |
} |
virtual ProfileKeyedService* BuildServiceInstanceFor( |
- Profile* profile) const OVERRIDE { |
- return new ExtensionActionManager(profile); |
+ content::BrowserContext* profile) const OVERRIDE { |
+ return new ExtensionActionManager(static_cast<Profile*>(profile)); |
} |
virtual bool ServiceRedirectedInIncognito() const OVERRIDE { |