Index: third_party/WebKit/Source/core/loader/PingLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp |
index 5e597c1f61d60f62421c672c0715be6baab01c4a..ceaec4b00cf41083e5856bf88ef25bbc19c7738c 100644 |
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp |
@@ -405,7 +405,8 @@ void finishPingRequestInitialization( |
request.setRequestContext(requestContext); |
FetchContext& fetchContext = frame->document()->fetcher()->context(); |
fetchContext.addAdditionalRequestHeaders(request, FetchSubresource); |
- fetchContext.populateRequestData(request); |
+ // TODO(tyoshino): Call populateResourceRequest() if appropriate. |
+ fetchContext.setFirstPartyCookieAndRequestorOrigin(request); |
} |
bool sendPingCommon(LocalFrame* frame, |