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