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

Unified Diff: components/autofill/core/browser/phone_number.cc

Issue 176843022: Move UTF16ToASCII, remove WideToASCII. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: components/autofill/core/browser/phone_number.cc
diff --git a/components/autofill/core/browser/phone_number.cc b/components/autofill/core/browser/phone_number.cc
index e997cc44b8c9890fa32cb9500aeb0d8be9e13ddc..57afcc9f8a90002ed936661d5926176604a6d8d6 100644
--- a/components/autofill/core/browser/phone_number.cc
+++ b/components/autofill/core/browser/phone_number.cc
@@ -31,7 +31,7 @@ std::string GetRegion(const AutofillProfile& profile,
const std::string& app_locale) {
base::string16 country_code = profile.GetRawInfo(ADDRESS_HOME_COUNTRY);
if (!country_code.empty())
- return UTF16ToASCII(country_code);
+ return base::UTF16ToASCII(country_code);
return AutofillCountry::CountryCodeForLocale(app_locale);
}

Powered by Google App Engine
This is Rietveld 408576698