Index: Source/WebCore/dom/DocumentFragment.cpp |
=================================================================== |
--- Source/WebCore/dom/DocumentFragment.cpp (revision 145445) |
+++ Source/WebCore/dom/DocumentFragment.cpp (working copy) |
@@ -34,11 +34,11 @@ |
DocumentFragment::DocumentFragment(Document* document, ConstructionType constructionType) |
: ContainerNode(document, constructionType) |
{ |
- ASSERT(document); |
} |
PassRefPtr<DocumentFragment> DocumentFragment::create(Document* document) |
{ |
+ ASSERT(document); |
return adoptRef(new DocumentFragment(document, Node::CreateDocumentFragment)); |
} |