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

Unified Diff: components/autofill/core/browser/address.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 | « chrome/installer/util/l10n_string_util.cc ('k') | components/autofill/core/browser/autofill_country.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/address.cc
diff --git a/components/autofill/core/browser/address.cc b/components/autofill/core/browser/address.cc
index 2cf5f51d2f5a3ea4f9629dc2f8f806ce70ea6d8b..e0c2a9cf560cb0df8e7296541a8091443eba231c 100644
--- a/components/autofill/core/browser/address.cc
+++ b/components/autofill/core/browser/address.cc
@@ -161,7 +161,7 @@ bool Address::SetInfo(const AutofillType& type,
return false;
}
- country_code_ = base::StringToUpperASCII(base::UTF16ToASCII(value));
+ country_code_ = base::ToUpperASCII(base::UTF16ToASCII(value));
return true;
} else if (type.html_type() == HTML_TYPE_FULL_ADDRESS) {
// Parsing a full address is too hard.
« no previous file with comments | « chrome/installer/util/l10n_string_util.cc ('k') | components/autofill/core/browser/autofill_country.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698