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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.cc

Issue 1924473003: [Downloads] Use the initiating StoragePartition for resumption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ordering of site_instance_url/SiteInstanceURL fields, and add history test for WebViewTest. Created 4 years, 7 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: content/browser/loader/resource_dispatcher_host_impl.cc
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
index e594cb76d5aef0b6545234d41d7bfa1bb0eee8c1..6eeb1cae246119c52cc5f7bce74d64fd00675d7a 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.cc
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc
@@ -781,7 +781,7 @@ DownloadInterruptReason ResourceDispatcherHostImpl::BeginDownload(
request_id_--;
- const net::URLRequestContext* request_context = context->GetRequestContext();
+ const net::URLRequestContext* request_context = request->context();
if (!request_context->job_factory()->IsHandledURL(url)) {
DVLOG(1) << "Download request for unsupported protocol: "
<< url.possibly_invalid_spec();

Powered by Google App Engine
This is Rietveld 408576698