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

Unified Diff: chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc

Issue 12302034: Always Close the Autofill UI through the same path (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 10 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/gtk/autofill/autofill_popup_view_gtk.cc
diff --git a/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc b/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc
index a5378540c7565635771fb6f38559fefc427eac9d..8a77136856b0a7d37b78c0c8ac64685acea7d3ad 100644
--- a/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc
+++ b/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc
@@ -65,7 +65,6 @@ AutofillPopupViewGtk::AutofillPopupViewGtk(
}
AutofillPopupViewGtk::~AutofillPopupViewGtk() {
- controller_->ViewDestroyed();
g_object_unref(layout_);
gtk_widget_destroy(window_);
}
@@ -106,7 +105,7 @@ void AutofillPopupViewGtk::UpdateBoundsAndRedrawPopup() {
gboolean AutofillPopupViewGtk::HandleConfigure(GtkWidget* widget,
GdkEventConfigure* event) {
- Hide();
+ controller_->Hide();
return FALSE;
}

Powered by Google App Engine
This is Rietveld 408576698