| Index: chrome/browser/download/download_manager.cc
|
| diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc
|
| index 54c21b40bd71f8a92641015466203f6d15c664cd..05433fd33106f146bc2d9bbc225dc2e3bce09ad0 100644
|
| --- a/chrome/browser/download/download_manager.cc
|
| +++ b/chrome/browser/download/download_manager.cc
|
| @@ -1014,15 +1014,16 @@ void DownloadManager::DownloadUrlToFile(const GURL& url,
|
| // We send a pointer to content::ResourceContext, instead of the usual
|
| // reference, so that a copy of the object isn't made.
|
| BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
|
| - NewRunnableFunction(&download_util::DownloadUrl,
|
| - url,
|
| - referrer,
|
| - referrer_charset,
|
| - save_info,
|
| - g_browser_process->resource_dispatcher_host(),
|
| - tab_contents->GetRenderProcessHost()->id(),
|
| - tab_contents->render_view_host()->routing_id(),
|
| - &tab_contents->profile()->GetResourceContext()));
|
| + NewRunnableFunction(
|
| + &download_util::DownloadUrl,
|
| + url,
|
| + referrer,
|
| + referrer_charset,
|
| + save_info,
|
| + g_browser_process->resource_dispatcher_host(),
|
| + tab_contents->GetRenderProcessHost()->id(),
|
| + tab_contents->render_view_host()->routing_id(),
|
| + &tab_contents->browser_context()->GetResourceContext()));
|
| }
|
|
|
| void DownloadManager::AddObserver(Observer* observer) {
|
|
|