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

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

Issue 2694013005: Cleanup blink-side PlzNavigate logic (Closed)
Patch Set: Rebase Created 3 years, 9 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/NavigationScheduler.cpp
diff --git a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
index 8548da0c32939dab85bdc6767fc8942a73df1613..92e2c13e6cdbddf3dbd3e4558ebf48aaf020271d 100644
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
@@ -496,7 +496,8 @@ void NavigationScheduler::schedule(ScheduledNavigation* redirect) {
// location change. Let the JS have its way.
// FIXME: This check seems out of place.
if (!m_frame->loader().stateMachine()->committedFirstRealDocumentLoad() &&
- m_frame->loader().provisionalDocumentLoader()) {
+ m_frame->loader().provisionalDocumentLoader() &&
+ m_frame->loader().provisionalDocumentLoader()->didStart()) {
m_frame->loader().stopAllLoaders();
if (!m_frame->host())
return;
« no previous file with comments | « third_party/WebKit/Source/core/loader/NavigationPolicy.h ('k') | third_party/WebKit/Source/core/loader/ProgressTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698