Chromium Code Reviews| 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 868fc918c60d197c18961f16d08371782c9b94e6..0bb3274d1184cb4e1c96cd50be2efd67da5bfb05 100644 |
| --- a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp |
| +++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp |
| @@ -507,6 +507,8 @@ void NavigationScheduler::Schedule(ScheduledNavigation* redirect) { |
| Cancel(); |
| redirect_ = redirect; |
| + if (redirect_->IsLocationChange()) |
| + frame_->GetDocument()->SuppressLoadEvent(); |
|
Nate Chapin
2017/04/11 23:25:50
Instead of the early-exit in Document::ImplicitClo
|
| StartTimer(); |
| } |