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

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

Issue 252383010: Call DOMWindow::finishedLoading from FrameLoader::checkLoadCompleteForThisFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/core/loader/DocumentLoader.h ('k') | Source/core/loader/FrameLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/DocumentLoader.cpp
diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp
index 3c2b5e7161b081adca73e66bf188a0689b534b1f..969a91d665e88966ba6973baa06ca40e0328cd91 100644
--- a/Source/core/loader/DocumentLoader.cpp
+++ b/Source/core/loader/DocumentLoader.cpp
@@ -542,13 +542,6 @@ void DocumentLoader::dataReceived(Resource* resource, const char* data, int leng
cancelMainResourceLoad(ResourceError::cancelledError(m_request.url()));
}
-void DocumentLoader::checkLoadComplete()
-{
- if (!m_frame || isLoading() || !m_committed)
- return;
- m_frame->domWindow()->finishedLoading();
-}
-
void DocumentLoader::clearRedirectChain()
{
m_redirectChain.clear();
@@ -577,7 +570,6 @@ void DocumentLoader::detachFromFrame()
void DocumentLoader::clearMainResourceLoader()
{
m_loadingMainResource = false;
- checkLoadComplete();
}
void DocumentLoader::clearMainResourceHandle()
« no previous file with comments | « Source/core/loader/DocumentLoader.h ('k') | Source/core/loader/FrameLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698