mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Update to Chromium version 86.0.4240.0 (#800218)
- CefURLRequest::Create is no longer supported in the renderer process (see https://crbug.com/891872). Use CefFrame::CreateURLRequest instead. - Mac platform definitions have been changed from `MACOSX` to `MAC` (see https://crbug.com/1105907) and related CMake macro names have been updated. The old `OS_MACOSX` define is still set in code and CMake for backwards compatibility. - Linux ARM build is currently broken (see https://crbug.com/1123214).
This commit is contained in:
		| @@ -19,6 +19,7 @@ | ||||
| #include "net/http/http_status_code.h" | ||||
| #include "net/url_request/redirect_info.h" | ||||
| #include "net/url_request/redirect_util.h" | ||||
| #include "net/url_request/referrer_policy.h" | ||||
| #include "net/url_request/url_request.h" | ||||
| #include "services/network/public/cpp/resource_request.h" | ||||
|  | ||||
| @@ -180,10 +181,10 @@ net::RedirectInfo MakeRedirectInfo(const network::ResourceRequest& request, | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   net::URLRequest::FirstPartyURLPolicy first_party_url_policy = | ||||
|   auto first_party_url_policy = | ||||
|       request.update_first_party_url_on_redirect | ||||
|           ? net::URLRequest::UPDATE_FIRST_PARTY_URL_ON_REDIRECT | ||||
|           : net::URLRequest::NEVER_CHANGE_FIRST_PARTY_URL; | ||||
|           ? net::RedirectInfo::FirstPartyURLPolicy::UPDATE_URL_ON_REDIRECT | ||||
|           : net::RedirectInfo::FirstPartyURLPolicy::NEVER_CHANGE_URL; | ||||
|   return net::RedirectInfo::ComputeRedirectInfo( | ||||
|       request.method, request.url, request.site_for_cookies, | ||||
|       first_party_url_policy, request.referrer_policy, request.referrer.spec(), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user