Index: components/autofill/core/browser/credit_card_field.h |
diff --git a/components/autofill/core/browser/credit_card_field.h b/components/autofill/core/browser/credit_card_field.h |
index bf45e7ee6efb0194481158448104546b07e9ff85..f39ceb1679fd5cf1e0eea5ab5d0628fd3faa6cb6 100644 |
--- a/components/autofill/core/browser/credit_card_field.h |
+++ b/components/autofill/core/browser/credit_card_field.h |
@@ -31,7 +31,7 @@ class CreditCardField : public FormField { |
CreditCardField(); |
- const AutofillField* cardholder_; // Optional. |
+ AutofillField* cardholder_; // Optional. |
// Occasionally pages have separate fields for the cardholder's first and |
// last names; for such pages cardholder_ holds the first name field and |
@@ -40,20 +40,20 @@ class CreditCardField : public FormField { |
// because the text patterns for matching a cardholder name are different |
// than for ordinary names, and because cardholder names never have titles, |
// middle names or suffixes.) |
- const AutofillField* cardholder_last_; |
+ AutofillField* cardholder_last_; |
// TODO(jhawkins): Parse the select control. |
- const AutofillField* type_; // Optional. |
- const AutofillField* number_; // Required. |
+ AutofillField* type_; // Optional. |
+ AutofillField* number_; // Required. |
// The 3-digit card verification number; we don't currently fill this. |
- const AutofillField* verification_; |
+ AutofillField* verification_; |
// Either |expiration_date_| or both |expiration_month_| and |
// |expiration_year_| are required. |
- const AutofillField* expiration_month_; |
- const AutofillField* expiration_year_; |
- const AutofillField* expiration_date_; |
+ AutofillField* expiration_month_; |
+ AutofillField* expiration_year_; |
+ AutofillField* expiration_date_; |
// True if the year is detected to be a 2-digit year; otherwise, we assume |
// a 4-digit year. |