Index: Source/WebCore/loader/SubresourceLoader.cpp |
=================================================================== |
--- Source/WebCore/loader/SubresourceLoader.cpp (revision 146222) |
+++ Source/WebCore/loader/SubresourceLoader.cpp (working copy) |
@@ -131,7 +131,7 @@ |
RefPtr<SubresourceLoader> protect(this); |
ASSERT(!newRequest.isNull()); |
- if (!previousURL.isNull() && previousURL != newRequest.url()) { |
+ if (!redirectResponse.isNull()) { |
if (!m_documentLoader->cachedResourceLoader()->canRequest(m_resource->type(), newRequest.url())) { |
cancel(); |
return; |