diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-13 23:57:12 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-13 23:57:12 +0000 |
commit | 86a34e3780dd47205bcf6b4757724cf0f61f6dc2 (patch) | |
tree | e8ceb5b71d3ccfb7dd5b5b08eee071f66b39cbff /chrome | |
parent | 04185d956254a3b506f1315b9659a734396c1a7f (diff) | |
download | chromium_src-86a34e3780dd47205bcf6b4757724cf0f61f6dc2.zip chromium_src-86a34e3780dd47205bcf6b4757724cf0f61f6dc2.tar.gz chromium_src-86a34e3780dd47205bcf6b4757724cf0f61f6dc2.tar.bz2 |
Fix crash in saving pages.
http://crbug.com/3393
Review URL: http://codereview.chromium.org/7285
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3331 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/views/download_item_view.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/views/download_item_view.cc b/chrome/browser/views/download_item_view.cc index 6d0af1e3..0da72f0 100644 --- a/chrome/browser/views/download_item_view.cc +++ b/chrome/browser/views/download_item_view.cc @@ -478,6 +478,7 @@ void DownloadItemView::Paint(ChromeCanvas* canvas) { download_->PercentComplete(), download_util::SMALL); } else if (download_->state() == DownloadItem::COMPLETE && + complete_animation_.get() && complete_animation_->IsAnimating()) { download_util::PaintDownloadComplete(canvas, this, 0, 0, complete_animation_->GetCurrentValue(), |