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