Index: Source/core/xml/XSLTProcessor.cpp |
diff --git a/Source/core/xml/XSLTProcessor.cpp b/Source/core/xml/XSLTProcessor.cpp |
index d97c01fedf5c2925ba512fe9252a2223f755d040..40df7d23ae4e55f07fc71052f01dc1c4c1ef5ea0 100644 |
--- a/Source/core/xml/XSLTProcessor.cpp |
+++ b/Source/core/xml/XSLTProcessor.cpp |
@@ -75,7 +75,7 @@ PassRefPtrWillBeRawPtr<Document> XSLTProcessor::createDocumentFromSource(const S |
if (frame) { |
RefPtrWillBeRawPtr<Document> oldDocument = frame->document(); |
- result = frame->domWindow()->installNewDocument(sourceMIMEType, init, forceXHTML); |
+ result = frame->localDOMWindow()->installNewDocument(sourceMIMEType, init, forceXHTML); |
// Before parsing, we need to save & detach the old document and get the new document |
// in place. We have to do this only if we're rendering the result document. |