| Index: chrome/browser/resource_message_filter.cc
|
| ===================================================================
|
| --- chrome/browser/resource_message_filter.cc (revision 6726)
|
| +++ chrome/browser/resource_message_filter.cc (working copy)
|
| @@ -197,7 +197,7 @@
|
|
|
| // Fill in the dictionary suggestions if required.
|
| if (!params.misspelled_word.empty() &&
|
| - spellchecker_ != NULL) {
|
| + spellchecker_ != NULL && params.spellcheck_enabled) {
|
| int misspell_location, misspell_length;
|
| bool is_misspelled = !spellchecker_->SpellCheckWord(
|
| params.misspelled_word.c_str(),
|
|
|