| 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 54659894d7a2efc16d6ea84f871490bc118562be..d1a185e5527a3c99ea73004ace5e1bb2bd12e6ec 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -166,6 +166,7 @@
|
| #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"
|
| @@ -2819,6 +2820,8 @@
|
| 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
|
|
|