Index: Source/core/dom/DocumentFragment.cpp |
diff --git a/Source/core/dom/DocumentFragment.cpp b/Source/core/dom/DocumentFragment.cpp |
index 6f052be21b5ff6cb8ea24f7d14be637a48da4eb7..3bbb750237007f8c822a807bc81d55fb0b907e39 100644 |
--- a/Source/core/dom/DocumentFragment.cpp |
+++ b/Source/core/dom/DocumentFragment.cpp |
@@ -67,7 +67,7 @@ bool DocumentFragment::childTypeAllowed(NodeType type) const |
PassRefPtr<Node> DocumentFragment::cloneNode(bool deep) |
{ |
- RefPtr<DocumentFragment> clone = create(document()); |
+ RefPtr<DocumentFragment> clone = create(&document()); |
if (deep) |
cloneChildNodes(clone.get()); |
return clone.release(); |