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

Unified Diff: Source/core/loader/FrameLoader.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/FrameLoader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameLoader.cpp
diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp
index 4b2e6360c149c1194a31ad4d1b081766454c7910..770c73a0cb9627004e2ffd9a1cd5f8d2df2384f3 100644
--- a/Source/core/loader/FrameLoader.cpp
+++ b/Source/core/loader/FrameLoader.cpp
@@ -956,6 +956,7 @@ bool FrameLoader::checkLoadCompleteForThisFrame()
return true;
m_progressTracker->progressCompleted();
+ m_frame->domWindow()->finishedLoading();
const ResourceError& error = m_documentLoader->mainDocumentError();
if (!error.isNull())
@@ -1025,13 +1026,6 @@ void FrameLoader::checkLoadComplete()
page->mainFrame()->loader().checkLoadCompleteForThisFrame();
}
-void FrameLoader::checkLoadComplete(DocumentLoader* documentLoader)
-{
- if (documentLoader)
- documentLoader->checkLoadComplete();
- checkLoadComplete();
-}
-
String FrameLoader::userAgent(const KURL& url) const
{
String userAgent = m_client->userAgent(url);
« no previous file with comments | « Source/core/loader/FrameLoader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698