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

Unified Diff: Source/core/frame/RemoteFrame.cpp

Issue 806183005: Remove FrameLoader's checkLoadComplete and checkLoadCompleteForThisFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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: Source/core/frame/RemoteFrame.cpp
diff --git a/Source/core/frame/RemoteFrame.cpp b/Source/core/frame/RemoteFrame.cpp
index ccb2eec158ad2e15f01c5f8c2d5b112cc85e5e2a..cde4b2c8623e530e1db70262c23eed7c597734f4 100644
--- a/Source/core/frame/RemoteFrame.cpp
+++ b/Source/core/frame/RemoteFrame.cpp
@@ -70,18 +70,6 @@ RemoteSecurityContext* RemoteFrame::securityContext() const
return m_securityContext.get();
}
-bool RemoteFrame::checkLoadComplete()
-{
- if (isLoading())
- return false;
-
- bool allChildrenAreDoneLoading = true;
- for (RefPtrWillBeRawPtr<Frame> child = tree().firstChild(); child; child = child->tree().nextSibling()) {
- allChildrenAreDoneLoading &= child->checkLoadComplete();
- }
- return allChildrenAreDoneLoading;
-}
-
void RemoteFrame::forwardInputEvent(Event* event)
{
remoteFrameClient()->forwardInputEvent(event);

Powered by Google App Engine
This is Rietveld 408576698