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

Unified Diff: chrome/browser/autofill/credit_card_field.cc

Issue 6625087: Convert autofill messages to use the new IPC macros (again). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/autofill/autofill_metrics_unittest.cc ('k') | chrome/browser/autofill/form_field.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/credit_card_field.cc
===================================================================
--- chrome/browser/autofill/credit_card_field.cc (revision 77304)
+++ chrome/browser/autofill/credit_card_field.cc (working copy)
@@ -118,7 +118,7 @@
&credit_card_field->number_))
continue;
- if ((*q) && LowerCaseEqualsASCII((*q)->form_control_type(), "month")) {
+ if ((*q) && LowerCaseEqualsASCII((*q)->form_control_type, "month")) {
credit_card_field->expiration_month_ = *q++;
} else {
// "Expiration date" is the most common label here, but some pages have
@@ -187,7 +187,7 @@
credit_card_field->expiration_month_ &&
(credit_card_field->expiration_year_ ||
(LowerCaseEqualsASCII(
- credit_card_field->expiration_month_->form_control_type(),
+ credit_card_field->expiration_month_->form_control_type,
"month")))) {
*iter = q;
return credit_card_field.release();
« no previous file with comments | « chrome/browser/autofill/autofill_metrics_unittest.cc ('k') | chrome/browser/autofill/form_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698