Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index cad741aa557bb13f073105950dc6d1f627124519..8ef550953b89727493fa5a9c620a6411cc8eca18 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -4450,7 +4450,7 @@ void Document::applyXSLTransform(ProcessingInstruction* pi) |
{ |
ASSERT(!pi->isLoading()); |
UseCounter::count(*this, UseCounter::XSLProcessingInstruction); |
- RefPtrWillBeRawPtr<XSLTProcessor> processor = XSLTProcessor::create(); |
+ RefPtrWillBeRawPtr<XSLTProcessor> processor = XSLTProcessor::create(*this); |
processor->setXSLStyleSheet(toXSLStyleSheet(pi->sheet())); |
String resultMIMEType; |
String newSource; |