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 3ae652d4a77fd109b1f91e9e93388b5ee049fd44..331d705a4ce681dc859c2047e6b5e392bfc49bea 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -181,7 +181,6 @@ |
#include "core/loader/FrameFetchContext.h" |
#include "core/loader/FrameLoader.h" |
#include "core/loader/FrameLoaderClient.h" |
-#include "core/loader/ImageLoader.h" |
#include "core/loader/NavigationScheduler.h" |
#include "core/loader/appcache/ApplicationCacheHost.h" |
#include "core/origin_trials/DocumentOriginTrialContext.h" |
@@ -2662,9 +2661,6 @@ void Document::implicitClose() |
detachParser(); |
if (frame() && frame()->script().canExecuteScripts(NotAboutToExecuteScript)) { |
- ImageLoader::dispatchPendingLoadEvents(); |
- ImageLoader::dispatchPendingErrorEvents(); |
- |
HTMLLinkElement::dispatchPendingLoadEvents(); |
HTMLStyleElement::dispatchPendingLoadEvents(); |
} |