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

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

Issue 2694013005: Cleanup blink-side PlzNavigate logic (Closed)
Patch Set: Address ananta's comments 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/NavigationScheduler.cpp
diff --git a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
index f85930d9fbda2bf1327db109fce34128d7295f4a..d7da3398dd486ec018de1fe1d1574f98a1bfbe82 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;

Powered by Google App Engine
This is Rietveld 408576698