Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(873)

Unified Diff: trunk/src/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc

Issue 198163004: Revert 257524 "Move IsStringASCII/UTF8 to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() ||

Powered by Google App Engine
This is Rietveld 408576698