| Index: chrome/browser/spellchecker/spelling_service_client.cc
|
| ===================================================================
|
| --- chrome/browser/spellchecker/spelling_service_client.cc (revision 144326)
|
| +++ chrome/browser/spellchecker/spelling_service_client.cc (working copy)
|
| @@ -124,7 +124,11 @@
|
| // by the suggest service. That is, it is not useful to use the suggest
|
| // service when this client can use the spellcheck service.
|
| std::string locale = pref->GetString(prefs::kSpellCheckDictionary);
|
| +#if defined(OS_MACOSX)
|
| + bool spellcheck_available = locale.empty();
|
| +#else
|
| bool spellcheck_available = locale.empty() || !locale.compare(0, 2, "en");
|
| +#endif
|
| return type == SUGGEST ? !spellcheck_available : spellcheck_available;
|
| }
|
|
|
|
|