| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| index 26aa4eaa3a9b91b6361b86e5ee8c5f2018eb39be..aaacbed099c5c50fb9addf3a70963edd069a2239 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| @@ -3322,9 +3322,9 @@ bool AutofillDialogControllerImpl::IsCreditCardExpirationValid(
|
| if (!autofill::IsValidCreditCardExpirationDate(year, month, now))
|
| return false;
|
|
|
| - if (IsPayingWithWallet() && IsEditingExistingData(SECTION_CC_BILLING)) {
|
| - const wallet::WalletItems::MaskedInstrument* instrument =
|
| - ActiveInstrument();
|
| + const wallet::WalletItems::MaskedInstrument* instrument =
|
| + ActiveInstrument();
|
| + if (instrument) {
|
| const std::string& locale = g_browser_process->GetApplicationLocale();
|
| int month_int;
|
| if (base::StringToInt(month, &month_int) &&
|
|
|