summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGPolygonElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGPolygonElement.cpp')
-rw-r--r--WebCore/svg/SVGPolygonElement.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/svg/SVGPolygonElement.cpp b/WebCore/svg/SVGPolygonElement.cpp
index c7ab09b..57e2d53 100644
--- a/WebCore/svg/SVGPolygonElement.cpp
+++ b/WebCore/svg/SVGPolygonElement.cpp
@@ -27,13 +27,14 @@
namespace WebCore {
-SVGPolygonElement::SVGPolygonElement(const QualifiedName& tagName, Document* doc)
- : SVGPolyElement(tagName, doc)
+inline SVGPolygonElement::SVGPolygonElement(const QualifiedName& tagName, Document* document)
+ : SVGPolyElement(tagName, document)
{
}
-SVGPolygonElement::~SVGPolygonElement()
+PassRefPtr<SVGPolygonElement> SVGPolygonElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGPolygonElement(tagName, document));
}
Path SVGPolygonElement::toPathData() const