| 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 50153c6706bfa0951f8506161aa063702a7069b1..4bbd11320c65dc43fc0da01ff2e944879a14244d 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -2238,6 +2238,9 @@ void ResourceDispatcherHostImpl::BeginNavigationRequest(
|
| new_request->set_first_party_for_cookies(
|
| info.first_party_for_cookies);
|
| new_request->set_initiator(info.request_initiator);
|
| + if (info.should_upgrade_to_secure_transport) {
|
| + new_request->set_insecure_request_policy(net::URLRequest::UPGRADE_SAME_HOST_INSECURE_REQUESTS);
|
| + }
|
| if (info.is_main_frame) {
|
| new_request->set_first_party_url_policy(
|
| net::URLRequest::UPDATE_FIRST_PARTY_URL_ON_REDIRECT);
|
|
|