| Index: chrome/browser/spellchecker/spellcheck_factory.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_factory.cc b/chrome/browser/spellchecker/spellcheck_factory.cc
|
| index c859897a3485ce3155d217bf090b7f992cb1531f..db224f518257d6e880ac2e887613daaeabbd1d7b 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_factory.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_factory.cc
|
| @@ -34,7 +34,9 @@ SpellcheckServiceFactory::SpellcheckServiceFactory()
|
| SpellcheckServiceFactory::~SpellcheckServiceFactory() {}
|
|
|
| ProfileKeyedService* SpellcheckServiceFactory::BuildServiceInstanceFor(
|
| - Profile* profile) const {
|
| + content::BrowserContext* context) const {
|
| + Profile* profile = static_cast<Profile*>(context);
|
| +
|
| // Many variables are initialized from the profile in the SpellcheckService.
|
| DCHECK(profile);
|
| SpellcheckService* spellcheck = new SpellcheckService(profile);
|
|
|