Index: Source/core/svg/SVGDocument.h |
diff --git a/Source/core/svg/SVGDocument.h b/Source/core/svg/SVGDocument.h |
index 42c82a53353873c4abbc58eb1aef864d4437afe2..273db02360555199b732103126dc38956354c356 100644 |
--- a/Source/core/svg/SVGDocument.h |
+++ b/Source/core/svg/SVGDocument.h |
@@ -32,9 +32,9 @@ class SVGSVGElement; |
class SVGDocument FINAL : public Document { |
public: |
- static PassRefPtr<SVGDocument> create(Frame* frame, const KURL& url) |
+ static PassRefPtr<SVGDocument> create(const DocumentInit& initializer = DocumentInit()) |
{ |
- return adoptRef(new SVGDocument(frame, url)); |
+ return adoptRef(new SVGDocument(initializer)); |
} |
SVGSVGElement* rootElement() const; |
@@ -48,7 +48,7 @@ public: |
void updatePan(const FloatPoint& pos) const; |
private: |
- SVGDocument(Frame*, const KURL&); |
+ SVGDocument(const DocumentInit&); |
virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |