| Index: chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
|
| index dbeac8cf57d761fc1e86d46ba422e310e782e003..b78189a7bb491e0500b222656acefc5e6cc0a39f 100644
|
| --- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
|
| @@ -180,8 +180,8 @@ void AutofillPopupControllerImpl::Hide() {
|
|
|
| if (view_)
|
| view_->Hide();
|
| - else
|
| - delete this;
|
| +
|
| + delete this;
|
| }
|
|
|
| bool AutofillPopupControllerImpl::HandleKeyPressEvent(
|
| @@ -212,10 +212,6 @@ bool AutofillPopupControllerImpl::HandleKeyPressEvent(
|
| }
|
| }
|
|
|
| -void AutofillPopupControllerImpl::ViewDestroyed() {
|
| - delete this;
|
| -}
|
| -
|
| void AutofillPopupControllerImpl::UpdateBoundsAndRedrawPopup() {
|
| #if !defined(OS_ANDROID)
|
| // TODO(csharp): Since UpdatePopupBounds can change the position of the popup,
|
|
|