summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/TextDocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/TextDocument.h')
-rw-r--r--WebCore/loader/TextDocument.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/loader/TextDocument.h b/WebCore/loader/TextDocument.h
index 02c7af5..8f58b69 100644
--- a/WebCore/loader/TextDocument.h
+++ b/WebCore/loader/TextDocument.h
@@ -33,13 +33,13 @@ class HTMLViewSourceDocument;
class TextDocument : public HTMLDocument {
public:
- static PassRefPtr<TextDocument> create(Frame* frame)
+ static PassRefPtr<TextDocument> create(Frame* frame, const KURL& url)
{
- return adoptRef(new TextDocument(frame));
+ return adoptRef(new TextDocument(frame, url));
}
private:
- TextDocument(Frame*);
+ TextDocument(Frame*, const KURL&);
virtual DocumentParser* createParser();
};