Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
index d276fb5e9fa0f275b416586b9ecd9992763d09fe..5942857618fb997cc9ea613711629bb74c3bd32d 100644 |
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
@@ -365,10 +365,10 @@ bool DocumentLoader::redirectReceived( |
m_fetcher->stopFetching(); |
return false; |
} |
- if (!frameLoader().shouldContinueForNavigationPolicy( |
+ if (frameLoader().shouldContinueForNavigationPolicy( |
m_request, SubstituteData(), this, CheckContentSecurityPolicy, |
m_navigationType, NavigationPolicyCurrentTab, m_loadType, |
- isClientRedirect(), nullptr)) { |
+ isClientRedirect(), nullptr) != NavigationPolicyCurrentTab) { |
m_fetcher->stopFetching(); |
return false; |
} |