diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 22:55:17 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 22:55:17 +0000 |
commit | cb6037d67847a6341eea166baf1d4051667a0b88 (patch) | |
tree | 2b766762057e96d758385b96e2a576d7b6690d54 /chrome/browser/profile.cc | |
parent | f9be34d622561d5599603b41d1c43d595e503426 (diff) | |
download | chromium_src-cb6037d67847a6341eea166baf1d4051667a0b88.zip chromium_src-cb6037d67847a6341eea166baf1d4051667a0b88.tar.gz chromium_src-cb6037d67847a6341eea166baf1d4051667a0b88.tar.bz2 |
reland 31875. Revert was:
------
Revert 31875 to see whether it fixes reliability bot.
BUG=25677
TEST=None
------
TBR=huanr
Review URL: http://codereview.chromium.org/397017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32112 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r-- | chrome/browser/profile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index 75ba5c0..269bf95 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -1334,8 +1334,8 @@ void ProfileImpl::ReinitializeSpellCheckHost(bool force) { } void ProfileImpl::SpellCheckHostInitialized() { - spellcheck_host_ready_ = - spellcheck_host_ && spellcheck_host_->bdict_fd().fd != -1; + spellcheck_host_ready_ = spellcheck_host_ && + spellcheck_host_->bdict_file() != base::kInvalidPlatformFileValue; NotificationService::current()->Notify( NotificationType::SPELLCHECK_HOST_REINITIALIZED, Source<Profile>(this), NotificationService::NoDetails()); |