| Index: chrome/browser/spellchecker/spellcheck_host_impl.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_host_impl.cc b/chrome/browser/spellchecker/spellcheck_host_impl.cc
|
| index 5a633cf02e6cc008c28df4e937e3293f8d5e8775..845faf897171687cc9356d80fd69b76fcccd5d40 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_host_impl.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_host_impl.cc
|
| @@ -16,6 +16,7 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "chrome/browser/spellchecker/spellcheck_factory.h"
|
| #include "chrome/browser/spellchecker/spellcheck_host_metrics.h"
|
| #include "chrome/browser/spellchecker/spellcheck_platform_mac.h"
|
| #include "chrome/browser/spellchecker/spellcheck_profile_provider.h"
|
| @@ -135,7 +136,7 @@ void SpellCheckHostImpl::InitForRenderer(content::RenderProcessHost* process) {
|
| // Bug 103693: SpellCheckHostImpl and SpellCheckProfile should not
|
| // depend on Profile interface.
|
| Profile* profile = Profile::FromBrowserContext(process->GetBrowserContext());
|
| - if (profile->GetSpellCheckHost() != this)
|
| + if (SpellCheckFactory::GetHostForProfile(profile) != this)
|
| return;
|
|
|
| PrefService* prefs = profile->GetPrefs();
|
|
|