diff options
Diffstat (limited to 'WebCore/svg/SVGTextPathElement.cpp')
-rw-r--r-- | WebCore/svg/SVGTextPathElement.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/svg/SVGTextPathElement.cpp b/WebCore/svg/SVGTextPathElement.cpp index 8f21ab3..82adb29 100644 --- a/WebCore/svg/SVGTextPathElement.cpp +++ b/WebCore/svg/SVGTextPathElement.cpp @@ -34,17 +34,17 @@ namespace WebCore { -SVGTextPathElement::SVGTextPathElement(const QualifiedName& tagName, Document* doc) - : SVGTextContentElement(tagName, doc) - , SVGURIReference() +inline SVGTextPathElement::SVGTextPathElement(const QualifiedName& tagName, Document* document) + : SVGTextContentElement(tagName, document) , m_startOffset(LengthModeOther) , m_method(SVG_TEXTPATH_METHODTYPE_ALIGN) , m_spacing(SVG_TEXTPATH_SPACINGTYPE_EXACT) { } -SVGTextPathElement::~SVGTextPathElement() +PassRefPtr<SVGTextPathElement> SVGTextPathElement::create(const QualifiedName& tagName, Document* document) { + return adoptRef(new SVGTextPathElement(tagName, document)); } void SVGTextPathElement::parseMappedAttribute(Attribute* attr) |