Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.mm

Issue 12556002: Always Close the Autofill UI through the same path (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Disable Test On Linux Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.mm b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.mm
index e2bfe64640a7f345d7811477888155e3741c9754..bb63cf183611db42433b256326539d689f6f8170 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.mm
@@ -61,7 +61,6 @@ AutofillPopupViewBridge::AutofillPopupViewBridge(
AutofillPopupViewBridge::~AutofillPopupViewBridge() {
[view_ controllerDestroyed];
- controller_->ViewDestroyed();
// Remove the child window before closing, otherwise it can mess up
// display ordering.
@@ -71,6 +70,8 @@ AutofillPopupViewBridge::~AutofillPopupViewBridge() {
}
void AutofillPopupViewBridge::Hide() {
+ AutofillPopupView::Hide();
+
delete this;
}
« no previous file with comments | « chrome/browser/ui/autofill/autofill_popup_view.cc ('k') | chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698