Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3898)

Unified Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc

Issue 1854523002: If a download is initiated by download attribute, don't use stream viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 bca61e716e0905518de46553835eb66ac605a4d5..b1ee0283b3b175f4dd3e5ad4d1a26a1afd5bffec 100644
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
@@ -416,7 +416,7 @@ void ChromeResourceDispatcherHostDelegate::DownloadStarting(
#if BUILDFLAG(ANDROID_JAVA_UI)
throttles->push_back(
new chrome::InterceptDownloadResourceThrottle(
- request, child_id, route_id, request_id));
+ request, child_id, route_id, request_id, must_download));
#endif
}

Powered by Google App Engine
This is Rietveld 408576698