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 baaf2f9b84de10b0cb8b9607845323d8d6c7a4df..c69bcdbb232f45d304eb2fe29b13ca5974b32c21 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.cc |
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
@@ -2352,11 +2352,6 @@ int ResourceDispatcherHostImpl::BuildLoadFlagsForRequest( |
ChildProcessSecurityPolicyImpl* policy = |
ChildProcessSecurityPolicyImpl::GetInstance(); |
- if (!policy->CanSendCookiesForOrigin(child_id, request_data.url)) { |
- load_flags |= (net::LOAD_DO_NOT_SEND_COOKIES | |
- net::LOAD_DO_NOT_SEND_AUTH_DATA | |
- net::LOAD_DO_NOT_SAVE_COOKIES); |
- } |
// Raw headers are sensitive, as they include Cookie/Set-Cookie, so only |
// allow requesting them if requester has ReadRawCookies permission. |