| Index: Source/core/xml/XSLTProcessor.cpp
|
| diff --git a/Source/core/xml/XSLTProcessor.cpp b/Source/core/xml/XSLTProcessor.cpp
|
| index 5391097adf156e3c705ebb312aa060f3f46e9e8b..0d9f927905c09c7131d226179cd6b269356fc156 100644
|
| --- a/Source/core/xml/XSLTProcessor.cpp
|
| +++ b/Source/core/xml/XSLTProcessor.cpp
|
| @@ -76,6 +76,7 @@ PassRefPtrWillBeRawPtr<Document> XSLTProcessor::createDocumentFromSource(const S
|
|
|
| if (frame) {
|
| RefPtrWillBeRawPtr<Document> oldDocument = frame->document();
|
| + oldDocument->detach();
|
| result = frame->localDOMWindow()->installNewDocument(sourceMIMEType, init, forceXHTML);
|
|
|
| // Before parsing, we need to save & detach the old document and get the new document
|
|
|