Index: chrome/browser/ui/gtk/download/download_item_gtk.cc |
=================================================================== |
--- chrome/browser/ui/gtk/download/download_item_gtk.cc (revision 102679) |
+++ chrome/browser/ui/gtk/download/download_item_gtk.cc (working copy) |
@@ -266,6 +266,10 @@ |
} |
DownloadItemGtk::~DownloadItemGtk() { |
+ // First close the menu and then destroy the GtkWidgets. Bug#97724 |
+ if (menu_.get()) |
+ menu_.reset(); |
+ |
icon_consumer_.CancelAllRequests(); |
StopDownloadProgress(); |
get_download()->RemoveObserver(this); |