| Index: third_party/WebKit/Source/core/fetch/RawResource.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/RawResource.cpp b/third_party/WebKit/Source/core/fetch/RawResource.cpp
|
| index 8f9173c3ab17584bf004d7d8361cca15412d08a7..72c02d7ae5e68c1ec53973c15adb5079183badda 100644
|
| --- a/third_party/WebKit/Source/core/fetch/RawResource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/RawResource.cpp
|
| @@ -139,6 +139,14 @@ void RawResource::willFollowRedirect(ResourceRequest& newRequest, const Resource
|
| c->redirectReceived(this, newRequest, redirectResponse);
|
| }
|
|
|
| +void RawResource::willNotFollowRedirect()
|
| +{
|
| + RawPtr<RawResource> protect(this);
|
| + ResourceClientWalker<RawResourceClient> w(m_clients);
|
| + while (RawResourceClient* c = w.next())
|
| + c->redirectReceivedAndNotFollowed();
|
| +}
|
| +
|
| void RawResource::responseReceived(const ResourceResponse& response, PassOwnPtr<WebDataConsumerHandle> handle)
|
| {
|
| RawPtr<RawResource> protect(this);
|
|
|