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

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

Issue 1280473002: Update ToLower/UpperASCII API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « components/autofill/core/browser/autofill_country.cc ('k') | components/dom_distiller/core/viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/personal_data_manager.cc
diff --git a/components/autofill/core/browser/personal_data_manager.cc b/components/autofill/core/browser/personal_data_manager.cc
index da9a59f3de30923486ae96f5155b48b9c917696c..2e643a89ed12fbb2a4f6e00be587ec84d81bb918 100644
--- a/components/autofill/core/browser/personal_data_manager.cc
+++ b/components/autofill/core/browser/personal_data_manager.cc
@@ -1313,7 +1313,7 @@ std::string PersonalDataManager::MostCommonCountryCodeFromProfiles() const {
std::vector<std::string> country_codes;
AutofillCountry::GetAvailableCountries(&country_codes);
for (size_t i = 0; i < profiles.size(); ++i) {
- std::string country_code = base::StringToUpperASCII(base::UTF16ToASCII(
+ std::string country_code = base::ToUpperASCII(base::UTF16ToASCII(
profiles[i]->GetRawInfo(ADDRESS_HOME_COUNTRY)));
if (std::find(country_codes.begin(), country_codes.end(), country_code) !=
« no previous file with comments | « components/autofill/core/browser/autofill_country.cc ('k') | components/dom_distiller/core/viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698