Index: Source/core/xml/XSLTProcessor.cpp |
diff --git a/Source/core/xml/XSLTProcessor.cpp b/Source/core/xml/XSLTProcessor.cpp |
index 0d9f927905c09c7131d226179cd6b269356fc156..5391097adf156e3c705ebb312aa060f3f46e9e8b 100644 |
--- a/Source/core/xml/XSLTProcessor.cpp |
+++ b/Source/core/xml/XSLTProcessor.cpp |
@@ -76,7 +76,6 @@ |
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 |