| Index: components/autofill/core/browser/autofill_profile.cc
|
| diff --git a/components/autofill/core/browser/autofill_profile.cc b/components/autofill/core/browser/autofill_profile.cc
|
| index 250b7a17694ca6261956385fac8769028cc7c9b5..56e36700013d41b554d31376a75a20362c96841f 100644
|
| --- a/components/autofill/core/browser/autofill_profile.cc
|
| +++ b/components/autofill/core/browser/autofill_profile.cc
|
| @@ -231,7 +231,7 @@ struct CaseInsensitiveStringEquals {
|
|
|
| bool operator()(const base::string16& x) const {
|
| return x.size() == other_.size() &&
|
| - StringToLowerASCII(x) == StringToLowerASCII(other_);
|
| + base::StringToLowerASCII(x) == base::StringToLowerASCII(other_);
|
| }
|
|
|
| private:
|
| @@ -556,8 +556,8 @@ bool AutofillProfile::IsSubsetOf(const AutofillProfile& profile,
|
| app_locale)) {
|
| return false;
|
| }
|
| - } else if (StringToLowerASCII(GetRawInfo(*it)) !=
|
| - StringToLowerASCII(profile.GetRawInfo(*it))) {
|
| + } else if (base::StringToLowerASCII(GetRawInfo(*it)) !=
|
| + base::StringToLowerASCII(profile.GetRawInfo(*it))) {
|
| return false;
|
| }
|
| }
|
| @@ -589,8 +589,8 @@ void AutofillProfile::OverwriteOrAppendNames(
|
|
|
| AutofillType type = AutofillType(NAME_FULL);
|
| base::string16 full_name = current_name.GetInfo(type, app_locale);
|
| - if (StringToLowerASCII(full_name) ==
|
| - StringToLowerASCII(imported_name.GetInfo(type, app_locale))) {
|
| + if (base::StringToLowerASCII(full_name) ==
|
| + base::StringToLowerASCII(imported_name.GetInfo(type, app_locale))) {
|
| // The imported name has the same full name string as one of the
|
| // existing names for this profile. Because full names are
|
| // _heuristically_ parsed into {first, middle, last} name components,
|
| @@ -654,8 +654,8 @@ void AutofillProfile::OverwriteWithOrAddTo(const AutofillProfile& profile,
|
| // Single value field --- overwrite.
|
| if (!AutofillProfile::SupportsMultiValue(*iter)) {
|
| base::string16 new_value = profile.GetRawInfo(*iter);
|
| - if (StringToLowerASCII(GetRawInfo(*iter)) !=
|
| - StringToLowerASCII(new_value)) {
|
| + if (base::StringToLowerASCII(GetRawInfo(*iter)) !=
|
| + base::StringToLowerASCII(new_value)) {
|
| SetRawInfo(*iter, new_value);
|
| }
|
| continue;
|
|
|