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

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

Issue 448853002: Move StringToLowerASCII to base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: components/autofill/core/browser/credit_card.cc
diff --git a/components/autofill/core/browser/credit_card.cc b/components/autofill/core/browser/credit_card.cc
index 25a2329b72486b539b61c09ff3c90643bb6b40ba..ee4aa1e58293e57c081239cea36e66d06484eab9 100644
--- a/components/autofill/core/browser/credit_card.cc
+++ b/components/autofill/core/browser/credit_card.cc
@@ -75,7 +75,7 @@ bool ConvertMonth(const base::string16& month,
// Otherwise, try parsing the |month| as a named month, e.g. "January" or
// "Jan".
- base::string16 lowercased_month = StringToLowerASCII(month);
+ base::string16 lowercased_month = base::StringToLowerASCII(month);
UErrorCode status = U_ZERO_ERROR;
icu::Locale locale(app_locale.c_str());
@@ -88,7 +88,7 @@ bool ConvertMonth(const base::string16& month,
for (int32_t i = 0; i < num_months; ++i) {
const base::string16 icu_month = base::string16(months[i].getBuffer(),
months[i].length());
- if (lowercased_month == StringToLowerASCII(icu_month)) {
+ if (lowercased_month == base::StringToLowerASCII(icu_month)) {
*num = i + 1; // Adjust from 0-indexed to 1-indexed.
return true;
}
@@ -98,7 +98,7 @@ bool ConvertMonth(const base::string16& month,
for (int32_t i = 0; i < num_months; ++i) {
const base::string16 icu_month = base::string16(months[i].getBuffer(),
months[i].length());
- if (lowercased_month == StringToLowerASCII(icu_month)) {
+ if (lowercased_month == base::StringToLowerASCII(icu_month)) {
*num = i + 1; // Adjust from 0-indexed to 1-indexed.
return true;
}
« no previous file with comments | « components/autofill/core/browser/contact_info.cc ('k') | components/autofill/core/browser/form_structure.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698