| Index: chrome/browser/autofill/autofill_external_delegate.cc
|
| diff --git a/chrome/browser/autofill/autofill_external_delegate.cc b/chrome/browser/autofill/autofill_external_delegate.cc
|
| index 1bc339d51f0588471dff640281d1a76654b9a9bd..39d99a1f4ef64b82be55907a45d5f1640ae34064 100644
|
| --- a/chrome/browser/autofill/autofill_external_delegate.cc
|
| +++ b/chrome/browser/autofill/autofill_external_delegate.cc
|
| @@ -279,8 +279,9 @@ void AutofillExternalDelegate::ClearPreviewedForm() {
|
|
|
| void AutofillExternalDelegate::HideAutofillPopup() {
|
| if (controller_) {
|
| - controller_->Hide();
|
| OnPopupHidden(controller_.get());
|
| + // Hide deletes the controller so all other actions must be done before it.
|
| + controller_->Hide();
|
| }
|
| }
|
|
|
|
|