summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGMPathElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGMPathElement.cpp')
-rw-r--r--WebCore/svg/SVGMPathElement.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/svg/SVGMPathElement.cpp b/WebCore/svg/SVGMPathElement.cpp
index 7165c11..c6da308 100644
--- a/WebCore/svg/SVGMPathElement.cpp
+++ b/WebCore/svg/SVGMPathElement.cpp
@@ -27,13 +27,14 @@
namespace WebCore {
-SVGMPathElement::SVGMPathElement(const QualifiedName& qname, Document* doc)
- : SVGElement(qname, doc)
+inline SVGMPathElement::SVGMPathElement(const QualifiedName& tagName, Document* document)
+ : SVGElement(tagName, document)
{
}
-SVGMPathElement::~SVGMPathElement()
+PassRefPtr<SVGMPathElement> SVGMPathElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGMPathElement(tagName, document));
}
void SVGMPathElement::parseMappedAttribute(Attribute* attr)