diff options
Diffstat (limited to 'content/browser/download/download_file_manager.cc')
-rw-r--r-- | content/browser/download/download_file_manager.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/content/browser/download/download_file_manager.cc b/content/browser/download/download_file_manager.cc index 3d608a4..82aba33 100644 --- a/content/browser/download/download_file_manager.cc +++ b/content/browser/download/download_file_manager.cc @@ -177,11 +177,7 @@ void DownloadFileManager::StartDownload( DCHECK(info); DownloadManager* manager = request_handle.GetDownloadManager(); - if (!manager) { - request_handle.CancelRequest(); - delete info; - return; - } + DCHECK(manager); // Checked in |DownloadResourceHandler::StartOnUIThread()|. // |bound_net_log| will be used for logging the both the download item's and // the download file's events. |