Index: Source/core/editing/markup.cpp |
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp |
index 0328a3ed9de5f9657b8f58a653b6f6e52d52db30..e109d5cdad44a7b739c29cce122084c08670588d 100644 |
--- a/Source/core/editing/markup.cpp |
+++ b/Source/core/editing/markup.cpp |
@@ -708,7 +708,7 @@ PassRefPtr<DocumentFragment> createFragmentFromMarkupWithContext(Document* docum |
taggedMarkup.append(markup.substring(fragmentEnd)); |
RefPtr<DocumentFragment> taggedFragment = createFragmentFromMarkup(document, taggedMarkup.toString(), baseURL, parserContentPolicy); |
- RefPtr<Document> taggedDocument = Document::create(0, KURL()); |
+ RefPtr<Document> taggedDocument = Document::create(); |
taggedDocument->setContextFeatures(document->contextFeatures()); |
taggedDocument->takeAllChildrenFrom(taggedFragment.get()); |