diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-26 02:38:06 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-26 02:38:06 +0000 |
commit | 0c18444442389baf8aae14953e8d22943807cffc (patch) | |
tree | d048588e47d42e8712d37156d1ae1ac1f986f20d /chrome/browser/gtk/download_item_gtk.h | |
parent | 861fcd5d715f0590e75eddfb1bacb0ac356c8026 (diff) | |
download | chromium_src-0c18444442389baf8aae14953e8d22943807cffc.zip chromium_src-0c18444442389baf8aae14953e8d22943807cffc.tar.gz chromium_src-0c18444442389baf8aae14953e8d22943807cffc.tar.bz2 |
Don't DCHECK when removing items from the download shelf.
BUG=20186
Review URL: http://codereview.chromium.org/173407
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24413 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/download_item_gtk.h')
-rw-r--r-- | chrome/browser/gtk/download_item_gtk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/gtk/download_item_gtk.h b/chrome/browser/gtk/download_item_gtk.h index 4557695..1ec6319 100644 --- a/chrome/browser/gtk/download_item_gtk.h +++ b/chrome/browser/gtk/download_item_gtk.h @@ -84,6 +84,9 @@ class DownloadItemGtk : public DownloadItem::Observer, // Sets the components of the danger warning. void UpdateDangerWarning(); + // Remove ourselves from the parent download shelf. This will delete us. + void RemoveThis(); + static void InitNineBoxes(); // Draws everything in GTK rendering mode. @@ -211,6 +214,8 @@ class DownloadItemGtk : public DownloadItem::Observer, // The time at which we were insantiated. base::Time creation_time_; + ScopedRunnableMethodFactory<DownloadItemGtk> method_factory_; + // For canceling an in progress icon request. CancelableRequestConsumerT<int, 0> icon_consumer_; }; |