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

Unified Diff: trunk/src/components/autofill/core/browser/address.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/components/autofill/core/browser/address.cc
===================================================================
--- trunk/src/components/autofill/core/browser/address.cc (revision 257532)
+++ trunk/src/components/autofill/core/browser/address.cc (working copy)
@@ -107,7 +107,7 @@
case ADDRESS_HOME_COUNTRY:
DCHECK(value.empty() ||
- (value.length() == 2u && base::IsStringASCII(value)));
+ (value.length() == 2u && IsStringASCII(value)));
country_code_ = base::UTF16ToASCII(value);
break;
@@ -144,7 +144,7 @@
const base::string16& value,
const std::string& app_locale) {
if (type.html_type() == HTML_TYPE_COUNTRY_CODE) {
- if (!value.empty() && (value.size() != 2u || !base::IsStringASCII(value))) {
+ if (!value.empty() && (value.size() != 2u || !IsStringASCII(value))) {
country_code_ = std::string();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698