| Index: Source/core/xml/XSLTProcessor.cpp
|
| diff --git a/Source/core/xml/XSLTProcessor.cpp b/Source/core/xml/XSLTProcessor.cpp
|
| index 2c4f54784eff24b94c58fad03708e0bbdb22a7fc..0f1dcd36ac746b9a58f83cf8d48d2516f9a5f832 100644
|
| --- a/Source/core/xml/XSLTProcessor.cpp
|
| +++ b/Source/core/xml/XSLTProcessor.cpp
|
| @@ -60,7 +60,7 @@ XSLTProcessor::~XSLTProcessor()
|
| PassRefPtr<Document> XSLTProcessor::createDocumentFromSource(const String& sourceString,
|
| const String& sourceEncoding, const String& sourceMIMEType, Node* sourceNode, Frame* frame)
|
| {
|
| - RefPtr<Document> ownerDocument = sourceNode->document();
|
| + RefPtr<Document> ownerDocument = &sourceNode->document();
|
| bool sourceIsDocument = (sourceNode == ownerDocument.get());
|
| String documentSource = sourceString;
|
|
|
|
|