diff options
Diffstat (limited to 'chromium/content/browser/frame_host/render_frame_host_impl.cc')
-rw-r--r-- | chromium/content/browser/frame_host/render_frame_host_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/content/browser/frame_host/render_frame_host_impl.cc b/chromium/content/browser/frame_host/render_frame_host_impl.cc index fcda9392b8a..9727a15ac2b 100644 --- a/chromium/content/browser/frame_host/render_frame_host_impl.cc +++ b/chromium/content/browser/frame_host/render_frame_host_impl.cc @@ -4803,7 +4803,7 @@ void RenderFrameHostImpl::CommitNavigation( auto factory_request = mojo::MakeRequest(&factory_proxy_info); GetContentClient()->browser()->WillCreateURLLoaderFactory( browser_context, this, GetProcess()->GetID(), - false /* is_navigation */, + false /* is_navigation */, false /* is_download */, GetOriginForURLLoaderFactory(common_params.url, GetSiteInstance()) .value_or(url::Origin()), &factory_request, nullptr /* header_client */, @@ -5549,8 +5549,8 @@ bool RenderFrameHostImpl::CreateNetworkServiceDefaultFactoryInternal( if (base::FeatureList::IsEnabled(network::features::kNetworkService)) { GetContentClient()->browser()->WillCreateURLLoaderFactory( context, this, GetProcess()->GetID(), false /* is_navigation */, - origin.value_or(url::Origin()), &default_factory_request, - &header_client, &bypass_redirect_checks); + false /* is_download */, origin.value_or(url::Origin()), + &default_factory_request, &header_client, &bypass_redirect_checks); } // Keep DevTools proxy last, i.e. closest to the network. |