Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 866bdeda65440203d03980fc24b8636800b622c3..4b191721326e30e167fb2d83bda36eef9f5052ce 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -4451,7 +4451,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; |