summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/credit_card_field.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autofill/credit_card_field.cc')
-rw-r--r--chrome/browser/autofill/credit_card_field.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autofill/credit_card_field.cc b/chrome/browser/autofill/credit_card_field.cc
index 79bf1fb..0a0ac43 100644
--- a/chrome/browser/autofill/credit_card_field.cc
+++ b/chrome/browser/autofill/credit_card_field.cc
@@ -118,7 +118,7 @@ CreditCardField* CreditCardField::Parse(
&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 @@ CreditCardField* CreditCardField::Parse(
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();