Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
index e664eb27cae54417d51390f29bb50218095ea927..0610418fd1c887b2c6234a917927ef78991a3ac6 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
@@ -706,8 +706,7 @@ static bool shouldSendCompleteNotification(LocalFrame* frame, |
// Only send didStopLoading() if there are no navigations in progress at all, |
// whether committed, provisional, or pending. |
return frame->loader().documentLoader()->sentDidFinishLoad() && |
- !frame->loader().provisionalDocumentLoader() && |
- !isNavigationHandledByClient; |
+ !frame->loader().hasProvisionalNavigation(); |
} |
void FrameLoader::checkCompleted() { |