Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 8184d8cae55ed15530f1a6ba35f8b81530510334..b9eff81a824db4720cc296ef2df9cabb0693340c 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -293,11 +293,6 @@ SecurityContext* LocalFrame::securityContext() const |
return document(); |
} |
-bool LocalFrame::checkLoadComplete() |
-{ |
- return loader().checkLoadCompleteForThisFrame(); |
-} |
- |
void LocalFrame::printNavigationErrorMessage(const Frame& targetFrame, const char* reason) |
{ |
if (!targetFrame.isLocalFrame()) |
@@ -310,6 +305,11 @@ void LocalFrame::printNavigationErrorMessage(const Frame& targetFrame, const cha |
targetLocalFrame.localDOMWindow()->printErrorMessage(message); |
} |
+bool LocalFrame::isLoadingAsChild() const |
+{ |
+ return isLoading() || !document()->isLoadCompleted(); |
+} |
+ |
void LocalFrame::disconnectOwnerElement() |
{ |
if (owner()) { |