summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/download_item_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/download_item_gtk.h')
-rw-r--r--chrome/browser/gtk/download_item_gtk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gtk/download_item_gtk.h b/chrome/browser/gtk/download_item_gtk.h
index 397e41c..d65f840 100644
--- a/chrome/browser/gtk/download_item_gtk.h
+++ b/chrome/browser/gtk/download_item_gtk.h
@@ -18,6 +18,10 @@ class DownloadItemGtk {
DownloadItemGtk(BaseDownloadItemModel* download_item_model,
GtkWidget* parent_shelf);
+ // We put |hbox_| in |parent_shelf| and rely on |parent_shelf| recursively
+ // destroying its children. Hence we do nothing in the destructor.
+ ~DownloadItemGtk();
+
private:
static void InitNineBoxes();