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

Unified Diff: Source/WebCore/dom/Document.cpp

Issue 13934004: Plumb an event through to content/ that is sent just before 'onload'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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 | « no previous file | Source/WebCore/loader/EmptyClients.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/Document.cpp
diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp
index b0d39ed4ada8f3ebdc372e117b80d26d9f84a77d..ea291af0a20e529b2283666eefaf868b6dab9300 100644
--- a/Source/WebCore/dom/Document.cpp
+++ b/Source/WebCore/dom/Document.cpp
@@ -2438,6 +2438,7 @@ void Document::implicitClose()
if (f) {
f->loader()->icon()->startLoader();
f->animation()->resumeAnimationsForDocument(this);
+ f->loader()->willHandleOnloadEvents();
}
ImageLoader::dispatchPendingBeforeLoadEvents();
« no previous file with comments | « no previous file | Source/WebCore/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698