Index: chrome/browser/spellchecker/spellcheck_custom_dictionary.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc b/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc |
index a34c7b6f97d8205280984124f8cec361a127a1d2..e7b9140f1f5b8be7658a4c0f57df5a629fe0c391 100644 |
--- a/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc |
+++ b/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc |
@@ -76,7 +76,7 @@ ChecksumStatus LoadFile(const base::FilePath& file_path, WordList& words) { |
// Returns true for invalid words and false for valid words. |
bool IsInvalidWord(const std::string& word) { |
std::string tmp; |
- return !IsStringUTF8(word) || |
+ return !base::IsStringUTF8(word) || |
word.length() > |
chrome::spellcheck_common::MAX_CUSTOM_DICTIONARY_WORD_BYTES || |
word.empty() || |