Index: Source/core/html/HTMLViewSourceDocument.h |
diff --git a/Source/core/html/HTMLViewSourceDocument.h b/Source/core/html/HTMLViewSourceDocument.h |
index 9e196c8f1b7d45f9d9361ba658b88373ddcf925d..45f870f0d31afed5c56b7398ac2ae22a96a35bfc 100644 |
--- a/Source/core/html/HTMLViewSourceDocument.h |
+++ b/Source/core/html/HTMLViewSourceDocument.h |
@@ -35,15 +35,15 @@ class HTMLToken; |
class HTMLViewSourceDocument FINAL : public HTMLDocument { |
public: |
- static PassRefPtr<HTMLViewSourceDocument> create(Frame* frame, const KURL& url, const String& mimeType) |
+ static PassRefPtr<HTMLViewSourceDocument> create(const DocumentInit& initializer, const String& mimeType) |
{ |
- return adoptRef(new HTMLViewSourceDocument(frame, url, mimeType)); |
+ return adoptRef(new HTMLViewSourceDocument(initializer, mimeType)); |
} |
void addSource(const String&, HTMLToken&); |
private: |
- HTMLViewSourceDocument(Frame*, const KURL&, const String& mimeType); |
+ HTMLViewSourceDocument(const DocumentInit&, const String& mimeType); |
virtual PassRefPtr<DocumentParser> createParser() OVERRIDE; |