| Index: content/shell/shell_download_manager_delegate.cc
|
| diff --git a/content/shell/shell_download_manager_delegate.cc b/content/shell/shell_download_manager_delegate.cc
|
| index 5dfb4921678ec9c88ea2f8089ab59b2293cf8903..2c0ce5af94fc54871d8c11124c70c1886c34a944 100644
|
| --- a/content/shell/shell_download_manager_delegate.cc
|
| +++ b/content/shell/shell_download_manager_delegate.cc
|
| @@ -123,9 +123,8 @@ void ShellDownloadManagerDelegate::ChooseDownloadPath(
|
| const DownloadTargetCallback& callback,
|
| const FilePath& suggested_path) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| - DownloadItem* item =
|
| - download_manager_->GetActiveDownloadItem(download_id);
|
| - if (!item)
|
| + DownloadItem* item = download_manager_->GetDownload(download_id);
|
| + if (!item || (item->GetState() != DownloadItem::IN_PROGRESS))
|
| return;
|
|
|
| FilePath result;
|
|
|