summaryrefslogtreecommitdiffstats
path: root/src/dom/svgimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/svgimpl.cpp')
-rw-r--r--src/dom/svgimpl.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dom/svgimpl.cpp b/src/dom/svgimpl.cpp
index 2c85fa21e..fc0af59c9 100644
--- a/src/dom/svgimpl.cpp
+++ b/src/dom/svgimpl.cpp
@@ -96,6 +96,13 @@ ElementPtr SVGDocumentImpl::createElementNS(const DOMString& namespaceURI,
//# Non-API methods
//##################
+void SVGDocumentImpl::init()
+{
+ title = "";
+ referrer = "";
+ domain = "";
+ rootElement = new SVGSVGElementImpl();
+}