| Index: apps/shell_window_geometry_cache.cc
|
| diff --git a/apps/shell_window_geometry_cache.cc b/apps/shell_window_geometry_cache.cc
|
| index 9b2a4f5933b2a4459ac28c963b3a568700aaf7e1..4971d72eea59e1cfffd4baf7dc33b0720a5965ee 100644
|
| --- a/apps/shell_window_geometry_cache.cc
|
| +++ b/apps/shell_window_geometry_cache.cc
|
| @@ -236,7 +236,7 @@ void ShellWindowGeometryCache::OnExtensionUnloaded(
|
| ShellWindowGeometryCache* ShellWindowGeometryCache::Factory::GetForContext(
|
| content::BrowserContext* context, bool create) {
|
| return static_cast<ShellWindowGeometryCache*>(
|
| - GetInstance()->GetServiceForProfile(context, create));
|
| + GetInstance()->GetServiceForBrowserContext(context, create));
|
| }
|
|
|
| ShellWindowGeometryCache::Factory*
|
| @@ -245,15 +245,15 @@ ShellWindowGeometryCache::Factory::GetInstance() {
|
| }
|
|
|
| ShellWindowGeometryCache::Factory::Factory()
|
| - : ProfileKeyedServiceFactory("ShellWindowGeometryCache",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + : BrowserContextKeyedServiceFactory("ShellWindowGeometryCache",
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| DependsOn(extensions::ExtensionPrefsFactory::GetInstance());
|
| }
|
|
|
| ShellWindowGeometryCache::Factory::~Factory() {
|
| }
|
|
|
| -ProfileKeyedService*
|
| +BrowserContextKeyedService*
|
| ShellWindowGeometryCache::Factory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| Profile* profile = Profile::FromBrowserContext(context);
|
|
|