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; |
} |