| Index: components/autofill/core/browser/address.cc
|
| diff --git a/components/autofill/core/browser/address.cc b/components/autofill/core/browser/address.cc
|
| index de6514794d01becd9d229df36f4e7f19716e17ed..79cdef9714f668fc528c09103ce97e1c94f6a483 100644
|
| --- a/components/autofill/core/browser/address.cc
|
| +++ b/components/autofill/core/browser/address.cc
|
| @@ -107,7 +107,7 @@ void Address::SetRawInfo(ServerFieldType type, const base::string16& value) {
|
|
|
| case ADDRESS_HOME_COUNTRY:
|
| DCHECK(value.empty() ||
|
| - (value.length() == 2u && IsStringASCII(value)));
|
| + (value.length() == 2u && base::IsStringASCII(value)));
|
| country_code_ = base::UTF16ToASCII(value);
|
| break;
|
|
|
| @@ -144,7 +144,7 @@ bool Address::SetInfo(const AutofillType& type,
|
| const base::string16& value,
|
| const std::string& app_locale) {
|
| if (type.html_type() == HTML_TYPE_COUNTRY_CODE) {
|
| - if (!value.empty() && (value.size() != 2u || !IsStringASCII(value))) {
|
| + if (!value.empty() && (value.size() != 2u || !base::IsStringASCII(value))) {
|
| country_code_ = std::string();
|
| return false;
|
| }
|
|
|