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

Unified Diff: ui/views/controls/menu/menu_host.h

Issue 10154013: Fixes crash in closing menus. There are two issues here: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OnOwnerClosing and more comments Created 8 years, 8 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: ui/views/controls/menu/menu_host.h
diff --git a/ui/views/controls/menu/menu_host.h b/ui/views/controls/menu/menu_host.h
index bbf92423c41eb21703fa842c6eaa28f0f5b5046f..9268210df22db590f85f70b0fe2ffec4ff91aac4 100644
--- a/ui/views/controls/menu/menu_host.h
+++ b/ui/views/controls/menu/menu_host.h
@@ -61,6 +61,7 @@ class MenuHost : public Widget {
virtual bool ShouldReleaseCaptureOnMouseReleased() const OVERRIDE;
virtual void OnMouseCaptureLost() OVERRIDE;
virtual void OnNativeWidgetDestroyed() OVERRIDE;
+ virtual void OnOwnerClosing() OVERRIDE;
// The view we contain.
SubmenuView* submenu_;

Powered by Google App Engine
This is Rietveld 408576698