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

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

Issue 2809733003: Move most of FrameLoader::CheckCompleted() to Document (Closed)
Patch Set: processingLoadEvent() as part of shouldComplete(), cleanup shouldComplete() 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/DocumentLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
index 70564978071f6b189b909478e2956d26c96ee5ff..4b165a134c12965e67ed3c5de8475e8c793279a2 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -430,7 +430,8 @@ void DocumentLoader::LoadFailed(const ResourceError& error) {
state_ = kSentDidFinishLoad;
GetLocalFrameClient().DispatchDidFailLoad(error, history_commit_type);
}
- loader.CheckCompleted();
+ DCHECK_EQ(kSentDidFinishLoad, state_);
+ loader.DidFinishNavigation();
yhirano 2017/04/14 10:33:35 Can you tell me why FrameLoader::DidFinishNavigati
Nate Chapin 2017/04/18 21:56:38 Because all the tests pass? :D For provisional na
}
void DocumentLoader::FinishedLoading(double finish_time) {

Powered by Google App Engine
This is Rietveld 408576698