diff options
Diffstat (limited to 'chrome/browser/spellchecker/spellcheck_custom_dictionary.cc')
-rw-r--r-- | chrome/browser/spellchecker/spellcheck_custom_dictionary.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc b/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc index 0cd0c7c..c3d2484 100644 --- a/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc +++ b/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc @@ -261,7 +261,7 @@ bool SpellcheckCustomDictionary::RemoveWord(const std::string& word) { return result == VALID_CHANGE; } -bool SpellcheckCustomDictionary::HasWord(const std::string& word) { +bool SpellcheckCustomDictionary::HasWord(const std::string& word) const { return !!words_.count(word); } |