| Index: Source/core/xml/XSLTProcessor.cpp
|
| diff --git a/Source/core/xml/XSLTProcessor.cpp b/Source/core/xml/XSLTProcessor.cpp
|
| index ef407955ccba19222db7c243f54f6546e36c85ff..b3626f915072bc6399fe53f63dcc06d10165f488 100644
|
| --- a/Source/core/xml/XSLTProcessor.cpp
|
| +++ b/Source/core/xml/XSLTProcessor.cpp
|
| @@ -69,7 +69,7 @@ PassRefPtr<Document> XSLTProcessor::createDocumentFromSource(const String& sourc
|
|
|
| RefPtr<Document> result;
|
| if (sourceMIMEType == "text/plain") {
|
| - result = Document::create(frame, sourceIsDocument ? ownerDocument->url() : KURL());
|
| + result = Document::create(DocumentInit(sourceIsDocument ? ownerDocument->url() : KURL(), frame));
|
| transformTextStringToXHTMLDocumentString(documentSource);
|
| } else
|
| result = DOMImplementation::createDocument(sourceMIMEType, frame, sourceIsDocument ? ownerDocument->url() : KURL(), false);
|
|
|