| 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 9170f0a34a17667b46a2c9c09a32d2a4ac529f4d..fc8fd609a0cd2efb2858cca904aecfe9b2cc885e 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_host_impl.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_host_impl.cc
|
| @@ -392,6 +392,11 @@ SpellCheckHostMetrics* SpellCheckHostImpl::GetMetrics() const {
|
| return metrics_;
|
| }
|
|
|
| +bool SpellCheckHostImpl::IsReady() const {
|
| + return GetDictionaryFile() != base::kInvalidPlatformFileValue ||
|
| + IsUsingPlatformChecker();
|
| +}
|
| +
|
| const base::PlatformFile& SpellCheckHostImpl::GetDictionaryFile() const {
|
| return file_;
|
| }
|
|
|