Index: chrome/browser/profiles/profile_impl.cc |
=================================================================== |
--- chrome/browser/profiles/profile_impl.cc (revision 86339) |
+++ chrome/browser/profiles/profile_impl.cc (working copy) |
@@ -1245,6 +1245,15 @@ |
} else if (notify) { |
// The spellchecker has been disabled. |
SpellCheckHostInitialized(); |
+ for (RenderProcessHost::iterator |
+ i(RenderProcessHost::AllHostsIterator()); |
+ !i.IsAtEnd(); i.Advance()) { |
+ RenderProcessHost* process = i.GetCurrentValue(); |
+ process->Send(new SpellCheckMsg_Init(IPC::InvalidPlatformFileForTransit(), |
+ std::vector<std::string>(), |
+ std::string(), |
+ false)); |
+ } |
} |
} |
@@ -1252,7 +1261,7 @@ |
spellcheck_host_ready_ = spellcheck_host_ && |
(spellcheck_host_->GetDictionaryFile() != |
base::kInvalidPlatformFileValue || |
- spellcheck_host_->IsUsingPlatformChecker());; |
+ spellcheck_host_->IsUsingPlatformChecker()); |
} |
ExtensionPrefValueMap* ProfileImpl::GetExtensionPrefValueMap() { |