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

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

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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: trunk/src/components/autofill/core/browser/personal_data_manager.cc
===================================================================
--- trunk/src/components/autofill/core/browser/personal_data_manager.cc (revision 289319)
+++ trunk/src/components/autofill/core/browser/personal_data_manager.cc (working copy)
@@ -289,7 +289,7 @@
types_seen.insert(server_field_type);
if (group == CREDIT_CARD) {
- if (base::LowerCaseEqualsASCII(field->form_control_type, "month")) {
+ if (LowerCaseEqualsASCII(field->form_control_type, "month")) {
DCHECK_EQ(CREDIT_CARD_EXP_DATE_4_DIGIT_YEAR, server_field_type);
local_imported_credit_card->SetInfoForMonthInputType(value);
} else {
@@ -1070,7 +1070,7 @@
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 = StringToUpperASCII(base::UTF16ToASCII(
profiles[i]->GetRawInfo(ADDRESS_HOME_COUNTRY)));
if (std::find(country_codes.begin(), country_codes.end(), country_code) !=

Powered by Google App Engine
This is Rietveld 408576698