| Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| index f10dfc30079d1c56ec8774c33f763aeaa1fba531..8f2805428e5c2c0d5ce7ffa1f0355176d8056c0b 100644
|
| --- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| +++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| @@ -419,9 +419,11 @@ void ChromeResourceDispatcherHostDelegate::DownloadStarting(
|
|
|
| // If it's from the web, we don't trust it, so we push the throttle on.
|
| if (is_content_initiated) {
|
| + const content::ResourceRequestInfo* info =
|
| + content::ResourceRequestInfo::ForRequest(request);
|
| throttles->push_back(new DownloadResourceThrottle(
|
| - download_request_limiter_, child_id, route_id, request->url(),
|
| - request->method()));
|
| + download_request_limiter_, info->GetWebContentsForRequest(),
|
| + request->url(), request->method()));
|
| #if defined(OS_ANDROID)
|
| throttles->push_back(
|
| new chrome::InterceptDownloadResourceThrottle(
|
|
|