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