| 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 950f31442985361aeb7c12c31f14f4ad69fc9d06..9825b98a68b60a881aeeacebfa1186c456d8af27 100644
|
| --- a/chrome/browser/extensions/shell_window_registry.cc
|
| +++ b/chrome/browser/extensions/shell_window_registry.cc
|
| @@ -230,7 +230,7 @@ void ShellWindowRegistry::OnDevToolsStateChanged(
|
| ShellWindowRegistry* ShellWindowRegistry::Factory::GetForProfile(
|
| Profile* profile, bool create) {
|
| return static_cast<ShellWindowRegistry*>(
|
| - GetInstance()->GetServiceForProfile(profile, create));
|
| + GetInstance()->GetServiceForBrowserContext(profile, create));
|
| }
|
|
|
| ShellWindowRegistry::Factory* ShellWindowRegistry::Factory::GetInstance() {
|
| @@ -238,19 +238,19 @@ ShellWindowRegistry::Factory* ShellWindowRegistry::Factory::GetInstance() {
|
| }
|
|
|
| ShellWindowRegistry::Factory::Factory()
|
| - : ProfileKeyedServiceFactory("ShellWindowRegistry",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + : BrowserContextKeyedServiceFactory("ShellWindowRegistry",
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| }
|
|
|
| ShellWindowRegistry::Factory::~Factory() {
|
| }
|
|
|
| -ProfileKeyedService* ShellWindowRegistry::Factory::BuildServiceInstanceFor(
|
| +BrowserContextKeyedService* ShellWindowRegistry::Factory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| return new ShellWindowRegistry(static_cast<Profile*>(profile));
|
| }
|
|
|
| -bool ShellWindowRegistry::Factory::ServiceIsCreatedWithProfile() const {
|
| +bool ShellWindowRegistry::Factory::ServiceIsCreatedWithBrowserContext() const {
|
| return true;
|
| }
|
|
|
|
|