Index: Source/core/dom/ProcessingInstruction.cpp |
diff --git a/Source/core/dom/ProcessingInstruction.cpp b/Source/core/dom/ProcessingInstruction.cpp |
index f8b9a9bfd16dfeedaa64e0226c68e1a87140b308..7acc9999cc91465f8640ad588a63f136d781456b 100644 |
--- a/Source/core/dom/ProcessingInstruction.cpp |
+++ b/Source/core/dom/ProcessingInstruction.cpp |
@@ -26,6 +26,7 @@ |
#include "core/css/MediaList.h" |
#include "core/css/StyleSheetContents.h" |
#include "core/dom/Document.h" |
+#include "core/dom/IncrementLoadEventDelayCount.h" |
#include "core/dom/StyleEngine.h" |
#include "core/fetch/CSSStyleSheetResource.h" |
#include "core/fetch/FetchRequest.h" |
@@ -218,6 +219,7 @@ void ProcessingInstruction::setXSLStyleSheet(const String& href, const KURL& bas |
ASSERT(m_isXSL); |
m_sheet = XSLStyleSheet::create(this, href, baseURL); |
+ OwnPtr<IncrementLoadEventDelayCount> delay = IncrementLoadEventDelayCount::create(document()); |
Nate Chapin
2014/09/15 23:39:34
XSL stylesheet parsing should block the load event
|
parseStyleSheet(sheet); |
} |