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