| Index: chrome/browser/autofill/personal_data_manager.cc
|
| diff --git a/chrome/browser/autofill/personal_data_manager.cc b/chrome/browser/autofill/personal_data_manager.cc
|
| index 75f89cec002c5a7f6ad6873d590e47b60bc40b5a..079d0f3da8ca7fea1a84b39f416be732bba18ca6 100644
|
| --- a/chrome/browser/autofill/personal_data_manager.cc
|
| +++ b/chrome/browser/autofill/personal_data_manager.cc
|
| @@ -168,8 +168,12 @@ bool PersonalDataManager::ImportFormData(
|
| // If the user has a password set, we have no way of setting credit
|
| // card numbers.
|
| if (!HasPassword()) {
|
| - imported_credit_card_->SetInfo(AutoFillType(field_type.field_type()),
|
| - value);
|
| + if (LowerCaseEqualsASCII(field->form_control_type(), "month")) {
|
| + imported_credit_card_->SetMonthInputInfo(value);
|
| + } else {
|
| + imported_credit_card_->SetInfo(
|
| + AutoFillType(field_type.field_type()), value);
|
| + }
|
| ++importable_credit_card_fields;
|
| }
|
| } else {
|
|
|