diff options
Diffstat (limited to 'WebCore/svg/SVGPolylineElement.cpp')
-rw-r--r-- | WebCore/svg/SVGPolylineElement.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/svg/SVGPolylineElement.cpp b/WebCore/svg/SVGPolylineElement.cpp index a1dfcd6..7ec8431 100644 --- a/WebCore/svg/SVGPolylineElement.cpp +++ b/WebCore/svg/SVGPolylineElement.cpp @@ -27,13 +27,14 @@ namespace WebCore { -SVGPolylineElement::SVGPolylineElement(const QualifiedName& tagName, Document* doc) - : SVGPolyElement(tagName, doc) +inline SVGPolylineElement::SVGPolylineElement(const QualifiedName& tagName, Document* document) + : SVGPolyElement(tagName, document) { } -SVGPolylineElement::~SVGPolylineElement() +PassRefPtr<SVGPolylineElement> SVGPolylineElement::create(const QualifiedName& tagName, Document* document) { + return adoptRef(new SVGPolylineElement(tagName, document)); } Path SVGPolylineElement::toPathData() const |