| Index: chrome/browser/profile.cc
|
| ===================================================================
|
| --- chrome/browser/profile.cc (revision 32064)
|
| +++ chrome/browser/profile.cc (working copy)
|
| @@ -1339,8 +1339,8 @@
|
| }
|
|
|
| void ProfileImpl::SpellCheckHostInitialized() {
|
| - spellcheck_host_ready_ = spellcheck_host_ &&
|
| - spellcheck_host_->bdict_file() != base::kInvalidPlatformFileValue;
|
| + spellcheck_host_ready_ =
|
| + spellcheck_host_ && spellcheck_host_->bdict_fd().fd != -1;
|
| NotificationService::current()->Notify(
|
| NotificationType::SPELLCHECK_HOST_REINITIALIZED,
|
| Source<Profile>(this), NotificationService::NoDetails());
|
|
|