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

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

Issue 2837763003: Reland "Move most of FrameLoader::CheckCompleted() to Document" (Closed)
Patch Set: Fix comment typos Created 3 years, 8 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 b0199e0acbd21aeff012b83907817e4977421679..7dc10a8862d0596a2f83475336d8a4a4d84a06fe 100644
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
@@ -509,6 +509,8 @@ void NavigationScheduler::Schedule(ScheduledNavigation* redirect) {
Cancel();
redirect_ = redirect;
+ if (redirect_->IsLocationChange())
+ frame_->GetDocument()->SuppressLoadEvent();
StartTimer();
}

Powered by Google App Engine
This is Rietveld 408576698