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..19901d9b9307ad3392c304ea71e2f2093e0ba644 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,16 @@ 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); |