Index: chrome/browser/spellchecker/spellcheck_factory.h |
diff --git a/chrome/browser/spellchecker/spellcheck_factory.h b/chrome/browser/spellchecker/spellcheck_factory.h |
index 13996467e10b65faeed6b1de64814a15973d4c16..59aff27689a7298b771347b7b131a38571bdf66a 100644 |
--- a/chrome/browser/spellchecker/spellcheck_factory.h |
+++ b/chrome/browser/spellchecker/spellcheck_factory.h |
@@ -15,7 +15,7 @@ class Profile; |
// Entry into the SpellCheck system. |
// |
// Internally, this owns all SpellcheckService objects. |
-class SpellcheckServiceFactory : public ProfileKeyedServiceFactory { |
+class SpellcheckServiceFactory : public BrowserContextKeyedServiceFactory { |
public: |
// Returns the spell check host. This will create the SpellcheckService if it |
// does not already exist. |
@@ -34,8 +34,8 @@ class SpellcheckServiceFactory : public ProfileKeyedServiceFactory { |
SpellcheckServiceFactory(); |
virtual ~SpellcheckServiceFactory(); |
- // ProfileKeyedServiceFactory: |
- virtual ProfileKeyedService* BuildServiceInstanceFor( |
+ // BrowserContextKeyedServiceFactory: |
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* context) const OVERRIDE; |
virtual void RegisterUserPrefs( |
user_prefs::PrefRegistrySyncable* registry) OVERRIDE; |