| Index: third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
|
| diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
|
| index 3356215059068e9164743a810896f1a82824418c..dcb9a8da6bc4c6fc427a7d7e5156e0ac0f70dd85 100644
|
| --- a/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
|
| +++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
|
| @@ -219,12 +219,12 @@ bool ResourceLoader::willFollowRedirect(
|
|
|
| newRequest.setAllowStoredCredentials(m_resource->options().allowCredentials ==
|
| AllowStoredCredentials);
|
| -
|
| + context().prepareRequest(m_resource->identifier(), newRequest);
|
| context().dispatchWillSendRequest(m_resource->identifier(), newRequest,
|
| redirectResponse,
|
| m_resource->options().initiatorInfo);
|
|
|
| - // ResourceFetcher::willFollowRedirect() may rewrite the URL to
|
| + // FetchContext::prepareRequest() may rewrite the URL to
|
| // something else not for rejecting redirect but for other reasons.
|
| // E.g. WebFrameTestClient::willSendRequest() and
|
| // RenderFrameImpl::willSendRequest(). We should reflect the
|
|
|