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 a632db981677c6a60abacd57051a8ba62f277f97..8099c8926ffaac9025342ccf81d40bf23edd3fae 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
@@ -1333,6 +1333,7 @@ bool FrameLoader::shouldClose(bool isReload) |
if (i == targetFrames.size()) |
shouldClose = true; |
} |
+ |
return shouldClose; |
} |
@@ -1388,8 +1389,6 @@ void FrameLoader::startLoad(FrameLoadRequest& frameLoadRequest, FrameLoadType ty |
ResourceRequest& request = frameLoadRequest.resourceRequest(); |
if (!shouldContinueForNavigationPolicy(request, frameLoadRequest.substituteData(), nullptr, frameLoadRequest.shouldCheckMainWorldContentSecurityPolicy(), navigationType, navigationPolicy, type == FrameLoadTypeReplaceCurrentItem, frameLoadRequest.clientRedirect() == ClientRedirectPolicy::ClientRedirect)) |
return; |
- if (!shouldClose(navigationType == NavigationTypeReload)) |
- return; |
m_frame->document()->cancelParsing(); |
detachDocumentLoader(m_provisionalDocumentLoader); |