| Index: chrome/browser/android/download/download_controller.cc
|
| diff --git a/chrome/browser/android/download/download_controller.cc b/chrome/browser/android/download/download_controller.cc
|
| index 3574b54bce1eeef86b373e3e3216e1b84f7a4458..d093b09f712b103f67287e025f718ef6df21f3f3 100644
|
| --- a/chrome/browser/android/download/download_controller.cc
|
| +++ b/chrome/browser/android/download/download_controller.cc
|
| @@ -360,7 +360,7 @@ void DownloadController::StartContextMenuDownload(
|
| const ContextMenuParams& params, WebContents* web_contents, bool is_link,
|
| const std::string& extra_headers) {
|
| int process_id = web_contents->GetRenderProcessHost()->GetID();
|
| - int routing_id = web_contents->GetRoutingID();
|
| + int routing_id = web_contents->GetRenderViewHost()->GetRoutingID();
|
| AcquireFileAccessPermission(
|
| web_contents, base::Bind(&CreateContextMenuDownload, process_id,
|
| routing_id, params, is_link, extra_headers));
|
|
|