Index: chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc |
diff --git a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc |
index 4562c3355bb6b68a5de560009b3982c2e1ddb481..09fa367985cc440e241a150383822593e2496e2b 100644 |
--- a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc |
+++ b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc |
@@ -372,9 +372,9 @@ void CreditCardEditorViewController::AddAndSelectNewBillingAddress( |
autofill::AddressComboboxModel* model = |
static_cast<autofill::AddressComboboxModel*>(address_combobox->model()); |
int index = model->AddNewProfile(profile); |
- address_combobox->SetSelectedIndex(index); |
- // Force revalidation. |
- address_combobox->OnBlur(); |
+ // SetSelectedIndex doesn't trigger a perform action notification, which is |
+ // needed to update the valid state. |
+ address_combobox->SetSelectedRow(index); |
} |
CreditCardEditorViewController::CreditCardValidationDelegate:: |