summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGTRefElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGTRefElement.cpp')
-rw-r--r--WebCore/svg/SVGTRefElement.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/svg/SVGTRefElement.cpp b/WebCore/svg/SVGTRefElement.cpp
index c140f05..72a037a 100644
--- a/WebCore/svg/SVGTRefElement.cpp
+++ b/WebCore/svg/SVGTRefElement.cpp
@@ -32,14 +32,14 @@
namespace WebCore {
-SVGTRefElement::SVGTRefElement(const QualifiedName& tagName, Document* doc)
- : SVGTextPositioningElement(tagName, doc)
- , SVGURIReference()
+inline SVGTRefElement::SVGTRefElement(const QualifiedName& tagName, Document* document)
+ : SVGTextPositioningElement(tagName, document)
{
}
-SVGTRefElement::~SVGTRefElement()
+PassRefPtr<SVGTRefElement> SVGTRefElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGTRefElement(tagName, document));
}
void SVGTRefElement::updateReferencedText()