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

Unified Diff: third_party/WebKit/Source/core/loader/BeaconLoader.cpp

Issue 2147473002: Set 'ResourceRequest::requestorOrigin' in Blink for more request types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jochen Created 4 years, 5 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: third_party/WebKit/Source/core/loader/BeaconLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/BeaconLoader.cpp b/third_party/WebKit/Source/core/loader/BeaconLoader.cpp
index f84f614ea371d4dba340787d5ca7e92a461e479a..8f79891097bf43f4abbb6f951e129944d2e90f35 100644
--- a/third_party/WebKit/Source/core/loader/BeaconLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/BeaconLoader.cpp
@@ -172,7 +172,7 @@ public:
request.setHTTPHeaderField(HTTPNames::Cache_Control, "max-age=0");
request.setAllowStoredCredentials(true);
frame->document()->fetcher()->context().addAdditionalRequestHeaders(request, FetchSubresource);
- frame->document()->fetcher()->context().setFirstPartyForCookies(request);
+ frame->document()->fetcher()->context().populateRequestData(request);
if (MixedContentChecker::shouldBlockFetch(frame, request, request.url()))
return false;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp ('k') | third_party/WebKit/Source/core/loader/FrameFetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698