Index: Source/core/dom/DocumentFragment.h |
diff --git a/Source/core/dom/DocumentFragment.h b/Source/core/dom/DocumentFragment.h |
index 82e7f6ea8f2dded2cad0bb73d45cd18aba5642b0..c6578ef86b7278de159d2fbf81821af8eba79227 100644 |
--- a/Source/core/dom/DocumentFragment.h |
+++ b/Source/core/dom/DocumentFragment.h |
@@ -33,6 +33,11 @@ class ScriptExecutionContext; |
class DocumentFragment : public ContainerNode { |
public: |
+ static PassRefPtr<DocumentFragment> create(Document& document) |
+ { |
+ return create(&document); |
+ } |
+ |
static PassRefPtr<DocumentFragment> create(Document*); |
void parseHTML(const String&, Element* contextElement, ParserContentPolicy = AllowScriptingContent); |