| 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 2b5d3b0212b711527ad76f473971844c08fa80d0..0b284849c162091932fb641e45b2d012179268c8 100644
|
| --- a/chrome/browser/extensions/shell_window_registry.cc
|
| +++ b/chrome/browser/extensions/shell_window_registry.cc
|
| @@ -241,8 +241,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 {
|
|
|