summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGTSpanElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGTSpanElement.cpp')
-rw-r--r--WebCore/svg/SVGTSpanElement.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/svg/SVGTSpanElement.cpp b/WebCore/svg/SVGTSpanElement.cpp
index ef36780..d1deb70 100644
--- a/WebCore/svg/SVGTSpanElement.cpp
+++ b/WebCore/svg/SVGTSpanElement.cpp
@@ -29,13 +29,14 @@
namespace WebCore {
-SVGTSpanElement::SVGTSpanElement(const QualifiedName& tagName, Document* doc)
- : SVGTextPositioningElement(tagName, doc)
+inline SVGTSpanElement::SVGTSpanElement(const QualifiedName& tagName, Document* document)
+ : SVGTextPositioningElement(tagName, document)
{
}
-SVGTSpanElement::~SVGTSpanElement()
+PassRefPtr<SVGTSpanElement> SVGTSpanElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGTSpanElement(tagName, document));
}
bool SVGTSpanElement::childShouldCreateRenderer(Node* child) const