Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 1236dcaa4269ca575db25921912673d31946b355..dc67fa92d5ec1ea2c69e72846c2e6d05862dd9d6 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -156,6 +156,7 @@ |
#include "core/html/HTMLHeadElement.h" |
#include "core/html/HTMLHtmlElement.h" |
#include "core/html/HTMLIFrameElement.h" |
+#include "core/html/HTMLImageLoader.h" |
#include "core/html/HTMLInputElement.h" |
#include "core/html/HTMLLinkElement.h" |
#include "core/html/HTMLMetaElement.h" |
@@ -2604,6 +2605,7 @@ void Document::implicitClose() |
if (frame() && frame()->script().canExecuteScripts(NotAboutToExecuteScript)) { |
ImageLoader::dispatchPendingLoadEvents(); |
ImageLoader::dispatchPendingErrorEvents(); |
+ HTMLImageLoader::dispatchPendingLoadendEvents(); |
HTMLLinkElement::dispatchPendingLoadEvents(); |
HTMLStyleElement::dispatchPendingLoadEvents(); |