summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 01:36:50 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 01:36:50 +0000
commit4e1c76f34b910c6e9a832cbac2e2bcce8acc9f52 (patch)
treec92007614f63d5eee9d1a7c85a5834f9603000fe /chrome/browser/profile.cc
parent3c5ed2c5747de75351c18fbf1e969eccc263d1d5 (diff)
downloadchromium_src-4e1c76f34b910c6e9a832cbac2e2bcce8acc9f52.zip
chromium_src-4e1c76f34b910c6e9a832cbac2e2bcce8acc9f52.tar.gz
chromium_src-4e1c76f34b910c6e9a832cbac2e2bcce8acc9f52.tar.bz2
Use renderer spellchecker for windows.
BUG=25677 Review URL: http://codereview.chromium.org/372075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index dd2835e..943ef84 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -1339,8 +1339,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());