Index: components/autofill/core/browser/autofill_field.cc |
diff --git a/components/autofill/core/browser/autofill_field.cc b/components/autofill/core/browser/autofill_field.cc |
index 19f2ce8ca0fcbdd76865f84558f6b3cb981e017b..5b37c091b3de386dac0d309d639734412df3e621 100644 |
--- a/components/autofill/core/browser/autofill_field.cc |
+++ b/components/autofill/core/browser/autofill_field.cc |
@@ -616,7 +616,7 @@ bool AutofillField::FillFormField(const AutofillField& field, |
return true; |
} else if (type.GetStorableType() == ADDRESS_HOME_STATE) { |
return FillStateText(value, field_data); |
- } else if (field_data->form_control_type == "input" && |
+ } else if (field_data->form_control_type == "text" && |
(type.GetStorableType() == CREDIT_CARD_EXP_2_DIGIT_YEAR || |
type.GetStorableType() == CREDIT_CARD_EXP_4_DIGIT_YEAR)) { |
FillExpirationYearInput(value, type.GetStorableType(), field_data); |