Index: Source/core/html/TextDocument.h |
diff --git a/Source/core/html/TextDocument.h b/Source/core/html/TextDocument.h |
index c0d338468e8d013fe3d5418b29080a66dc47f43c..8ae93657e72278e5223aacce50423566f5d072ca 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 DocumentInit& initializer = DocumentInit()) |
{ |
- return adoptRef(new TextDocument(frame, url)); |
+ return adoptRef(new TextDocument(initializer)); |
} |
private: |
- TextDocument(Frame*, const KURL&); |
+ TextDocument(const DocumentInit&); |
virtual PassRefPtr<DocumentParser> createParser(); |
}; |