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 e21ad5c22d40338d8f947db3e5b1a31f5ea58503..0a31cc4e76f58a871b2c8b87f6af4beab6785d8a 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -167,7 +167,6 @@ |
#include "core/html/HTMLLinkElement.h" |
#include "core/html/HTMLMetaElement.h" |
#include "core/html/HTMLScriptElement.h" |
-#include "core/html/HTMLStyleElement.h" |
#include "core/html/HTMLTemplateElement.h" |
#include "core/html/HTMLTitleElement.h" |
#include "core/html/PluginDocument.h" |
@@ -2823,8 +2822,6 @@ void Document::implicitClose() { |
if (frame() && frame()->script().canExecuteScripts(NotAboutToExecuteScript)) { |
ImageLoader::dispatchPendingLoadEvents(); |
ImageLoader::dispatchPendingErrorEvents(); |
- |
- HTMLStyleElement::dispatchPendingLoadEvents(); |
} |
// JS running below could remove the frame or destroy the LayoutView so we |