Index: Source/core/xml/XSLImportRule.cpp |
diff --git a/Source/core/xml/XSLImportRule.cpp b/Source/core/xml/XSLImportRule.cpp |
index a3c912e9d27fa92d56712706c29a5adcb8613df5..04633674482e00d424908195d74466ab98ce542b 100644 |
--- a/Source/core/xml/XSLImportRule.cpp |
+++ b/Source/core/xml/XSLImportRule.cpp |
@@ -25,6 +25,7 @@ |
#include "core/dom/Document.h" |
#include "core/loader/cache/CachedResourceLoader.h" |
#include "core/loader/cache/CachedResourceRequest.h" |
+#include "core/loader/cache/CachedResourceRequestInitiators.h" |
#include "core/loader/cache/CachedXSLStyleSheet.h" |
#include "core/xml/XSLStyleSheet.h" |
@@ -97,7 +98,7 @@ void XSLImportRule::loadSheet() |
return; |
} |
- CachedResourceRequest request(ResourceRequest(cachedResourceLoader->document()->completeURL(absHref))); |
+ CachedResourceRequest request(ResourceRequest(cachedResourceLoader->document()->completeURL(absHref)), cachedResourceRequestInitiators().xml); |
m_cachedSheet = cachedResourceLoader->requestXSLStyleSheet(request); |
if (m_cachedSheet) { |