Index: content/browser/download/drag_download_file.cc |
diff --git a/content/browser/download/drag_download_file.cc b/content/browser/download/drag_download_file.cc |
index afb533a56bf74dd30e68ba73f3f35185b55f2c4b..6d2db248e74a22daa84af83ff38278793ba5e1d6 100644 |
--- a/content/browser/download/drag_download_file.cc |
+++ b/content/browser/download/drag_download_file.cc |
@@ -97,7 +97,7 @@ class DragDownloadFile::DragDownloadFileUI : public DownloadItem::Observer { |
void OnDownloadStarted(DownloadItem* item, |
DownloadInterruptReason interrupt_reason) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
- if (!item) { |
+ if (!item || item->GetState() != DownloadItem::IN_PROGRESS) { |
DCHECK_NE(DOWNLOAD_INTERRUPT_REASON_NONE, interrupt_reason); |
on_completed_loop_->task_runner()->PostTask( |
FROM_HERE, base::Bind(on_completed_, false)); |