summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGSymbolElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGSymbolElement.cpp')
-rw-r--r--WebCore/svg/SVGSymbolElement.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/WebCore/svg/SVGSymbolElement.cpp b/WebCore/svg/SVGSymbolElement.cpp
index 9c110cb..7dab3e1 100644
--- a/WebCore/svg/SVGSymbolElement.cpp
+++ b/WebCore/svg/SVGSymbolElement.cpp
@@ -27,16 +27,14 @@
namespace WebCore {
-SVGSymbolElement::SVGSymbolElement(const QualifiedName& tagName, Document* doc)
- : SVGStyledElement(tagName, doc)
- , SVGLangSpace()
- , SVGExternalResourcesRequired()
- , SVGFitToViewBox()
+inline SVGSymbolElement::SVGSymbolElement(const QualifiedName& tagName, Document* document)
+ : SVGStyledElement(tagName, document)
{
}
-SVGSymbolElement::~SVGSymbolElement()
+PassRefPtr<SVGSymbolElement> SVGSymbolElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGSymbolElement(tagName, document));
}
void SVGSymbolElement::parseMappedAttribute(Attribute* attr)