Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(635)

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.cpp

Issue 2694013005: Cleanup blink-side PlzNavigate logic (Closed)
Patch Set: merge Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8c7197c9cf02e49345d3896bd0f73b46319f9d07..9d488c6af90675fdec1b45640a36b4bcf099fa4e 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;
}

Powered by Google App Engine
This is Rietveld 408576698