Index: chrome/browser/extensions/shell_window_registry.cc |
diff --git a/chrome/browser/extensions/shell_window_registry.cc b/chrome/browser/extensions/shell_window_registry.cc |
index f8ef9c616d82723229c9d5a7551b7f936511d067..e08b04a58952504b9482937920ee3ff0c6a28459 100644 |
--- a/chrome/browser/extensions/shell_window_registry.cc |
+++ b/chrome/browser/extensions/shell_window_registry.cc |
@@ -245,8 +245,8 @@ ShellWindowRegistry::Factory::~Factory() { |
} |
ProfileKeyedService* ShellWindowRegistry::Factory::BuildServiceInstanceFor( |
- Profile* profile) const { |
- return new ShellWindowRegistry(profile); |
+ content::BrowserContext* profile) const { |
+ return new ShellWindowRegistry(static_cast<Profile*>(profile)); |
} |
bool ShellWindowRegistry::Factory::ServiceIsCreatedWithProfile() const { |