Index: Source/core/html/HTMLDocument.cpp |
diff --git a/Source/core/html/HTMLDocument.cpp b/Source/core/html/HTMLDocument.cpp |
index 5e0116bf848c9b6382ef5ae7f1b966b87a923fd0..c0d590ac7639f7c32d1993b019c6966f376db1b8 100644 |
--- a/Source/core/html/HTMLDocument.cpp |
+++ b/Source/core/html/HTMLDocument.cpp |
@@ -205,6 +205,11 @@ void HTMLDocument::setVlinkColor(const AtomicString& value) |
setBodyAttribute(vlinkAttr, value); |
} |
+PassRefPtr<Document> HTMLDocument::cloneDocumentWithoutChildren() |
+{ |
+ return create(DocumentInit(url()).withRegistrationContext(registrationContext())); |
+} |
+ |
// -------------------------------------------------------------------------- |
// not part of the DOM |
// -------------------------------------------------------------------------- |