| Index: content/browser/download/download_resource_handler.cc
|
| diff --git a/content/browser/download/download_resource_handler.cc b/content/browser/download/download_resource_handler.cc
|
| index 09de2e627f0fffd3faa835009ff403b9ca0a1ac7..bfb7e3b151d75a3be0cf3849da7a5ac21af80456 100644
|
| --- a/content/browser/download/download_resource_handler.cc
|
| +++ b/content/browser/download/download_resource_handler.cc
|
| @@ -121,13 +121,12 @@ DownloadResourceHandler::DownloadResourceHandler(
|
| const ResourceRequestInfoImpl* request_info = GetRequestInfo();
|
| tab_info_ = new DownloadTabInfo();
|
| BrowserThread::PostTask(
|
| - BrowserThread::UI,
|
| - FROM_HERE,
|
| + BrowserThread::UI, FROM_HERE,
|
| base::Bind(&InitializeDownloadTabInfoOnUIThread,
|
| - DownloadRequestHandle(AsWeakPtr(),
|
| - request_info->GetChildID(),
|
| + DownloadRequestHandle(AsWeakPtr(), request_info->GetChildID(),
|
| request_info->GetRouteID(),
|
| - request_info->GetRequestID()),
|
| + request_info->GetRequestID(),
|
| + request_info->frame_tree_node_id()),
|
| tab_info_));
|
| power_save_blocker_ = PowerSaveBlocker::Create(
|
| PowerSaveBlocker::kPowerSaveBlockPreventAppSuspension,
|
| @@ -201,10 +200,9 @@ bool DownloadResourceHandler::OnResponseStarted(
|
| RecordDownloadMimeType(info->mime_type);
|
| RecordDownloadContentDisposition(info->content_disposition);
|
|
|
| - info->request_handle =
|
| - DownloadRequestHandle(AsWeakPtr(), request_info->GetChildID(),
|
| - request_info->GetRouteID(),
|
| - request_info->GetRequestID());
|
| + info->request_handle = DownloadRequestHandle(
|
| + AsWeakPtr(), request_info->GetChildID(), request_info->GetRouteID(),
|
| + request_info->GetRequestID(), request_info->frame_tree_node_id());
|
|
|
| // Get the last modified time and etag.
|
| const net::HttpResponseHeaders* headers = request()->response_headers();
|
|
|