Index: trunk/src/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc |
=================================================================== |
--- trunk/src/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc (revision 257532) |
+++ trunk/src/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc (working copy) |
@@ -76,7 +76,7 @@ |
// Returns true for invalid words and false for valid words. |
bool IsInvalidWord(const std::string& word) { |
std::string tmp; |
- return !base::IsStringUTF8(word) || |
+ return !IsStringUTF8(word) || |
word.length() > |
chrome::spellcheck_common::MAX_CUSTOM_DICTIONARY_WORD_BYTES || |
word.empty() || |