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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/loader/TextDocument.h b/WebCore/loader/TextDocument.h
index 8f58b69..d5bf153 100644
--- a/WebCore/loader/TextDocument.h
+++ b/WebCore/loader/TextDocument.h
@@ -41,10 +41,10 @@ public:
private:
TextDocument(Frame*, const KURL&);
- virtual DocumentParser* createParser();
+ virtual PassRefPtr<DocumentParser> createParser();
};
-DocumentParser* createTextDocumentParser(HTMLViewSourceDocument*);
+PassRefPtr<DocumentParser> createTextDocumentParser(HTMLViewSourceDocument*);
}