Index: third_party/WebKit/Source/core/fetch/Resource.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/Resource.cpp b/third_party/WebKit/Source/core/fetch/Resource.cpp |
index 797393003558096ec18e1e5dbc864c64dfc0c425..a3f17dda5ea99c21cd327892f7e36e119ac86b15 100644 |
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp |
@@ -551,6 +551,9 @@ void Resource::setRevalidatingRequest(const ResourceRequest& request) |
void Resource::willFollowRedirect(ResourceRequest& newRequest, const ResourceResponse& redirectResponse) |
{ |
+ if (!m_revalidatingRequest.isNull()) |
+ revalidationFailed(); |
+ |
newRequest.setAllowStoredCredentials(m_options.allowCredentials == AllowStoredCredentials); |
m_redirectChain.append(RedirectPair(newRequest, redirectResponse)); |
} |