Index: Source/core/html/TextDocument.h |
diff --git a/Source/core/html/TextDocument.h b/Source/core/html/TextDocument.h |
index c0d338468e8d013fe3d5418b29080a66dc47f43c..1e4921191ae6bb2bb8a917a3db5e4e4e0ca85923 100644 |
--- a/Source/core/html/TextDocument.h |
+++ b/Source/core/html/TextDocument.h |
@@ -31,13 +31,13 @@ namespace WebCore { |
class TextDocument FINAL : public HTMLDocument { |
public: |
- static PassRefPtr<TextDocument> create(Frame* frame, const KURL& url) |
+ static PassRefPtr<TextDocument> create(const DocumentInitializer& initializer = DocumentInitializer()) |
{ |
- return adoptRef(new TextDocument(frame, url)); |
+ return adoptRef(new TextDocument(initializer)); |
} |
private: |
- TextDocument(Frame*, const KURL&); |
+ TextDocument(const DocumentInitializer&); |
virtual PassRefPtr<DocumentParser> createParser(); |
}; |