| 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 e9cddb9b2385cf0f7c36e00878fa6207edcae0d6..918d626ab45da7eb702e215b0db8ab0a9f736dbe 100644
|
| --- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| @@ -259,6 +259,7 @@ PingLoaderImpl::PingLoaderImpl(LocalFrame* frame,
|
|
|
| FetchInitiatorInfo initiatorInfo;
|
| initiatorInfo.name = initiator;
|
| + fetchContext.prepareRequest(m_identifier, request);
|
| fetchContext.dispatchWillSendRequest(m_identifier, request,
|
| ResourceResponse(), initiatorInfo);
|
|
|
| @@ -332,8 +333,10 @@ bool PingLoaderImpl::willFollowRedirect(
|
| FetchInitiatorInfo initiatorInfo;
|
| initiatorInfo.name = m_initiator;
|
| FetchContext& fetchContext = frame()->document()->fetcher()->context();
|
| + fetchContext.prepareRequest(m_identifier,
|
| + passedNewRequest.toMutableResourceRequest());
|
| fetchContext.dispatchWillSendRequest(
|
| - m_identifier, passedNewRequest.toMutableResourceRequest(),
|
| + m_identifier, passedNewRequest.toResourceRequest(),
|
| passedRedirectResponse.toResourceResponse(), initiatorInfo);
|
| }
|
|
|
|
|