summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGDescElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGDescElement.cpp')
-rw-r--r--WebCore/svg/SVGDescElement.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/svg/SVGDescElement.cpp b/WebCore/svg/SVGDescElement.cpp
index 58a7e01..720146c 100644
--- a/WebCore/svg/SVGDescElement.cpp
+++ b/WebCore/svg/SVGDescElement.cpp
@@ -24,14 +24,14 @@
namespace WebCore {
-SVGDescElement::SVGDescElement(const QualifiedName& tagName, Document *doc)
- : SVGStyledElement(tagName, doc)
- , SVGLangSpace()
+inline SVGDescElement::SVGDescElement(const QualifiedName& tagName, Document* document)
+ : SVGStyledElement(tagName, document)
{
}
-SVGDescElement::~SVGDescElement()
+PassRefPtr<SVGDescElement> SVGDescElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGDescElement(tagName, document));
}
String SVGDescElement::description() const