Index: content/browser/download/download_item_impl.cc |
diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc |
index a5dfaec1af2ac84f009d4745667178900c7bb220..cf4294485a94276b72f032e45cb5f579e315cf18 100644 |
--- a/content/browser/download/download_item_impl.cc |
+++ b/content/browser/download/download_item_impl.cc |
@@ -1696,12 +1696,11 @@ void DownloadItemImpl::ResumeInterruptedDownload() { |
scoped_ptr<DownloadUrlParameters> download_params; |
if (GetWebContents()) { |
- download_params = DownloadUrlParameters::FromWebContents(GetWebContents(), |
- GetOriginalUrl()); |
+ download_params = |
+ DownloadUrlParameters::FromWebContents(GetWebContents(), GetURL()); |
} else { |
- download_params = make_scoped_ptr( |
- new DownloadUrlParameters(GetOriginalUrl(), -1, -1, -1, |
- GetBrowserContext()->GetResourceContext())); |
+ download_params = make_scoped_ptr(new DownloadUrlParameters( |
+ GetURL(), -1, -1, -1, GetBrowserContext()->GetResourceContext())); |
} |
download_params->set_file_path(GetFullPath()); |