summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGStopElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGStopElement.cpp')
-rw-r--r--WebCore/svg/SVGStopElement.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/svg/SVGStopElement.cpp b/WebCore/svg/SVGStopElement.cpp
index 317774a..cd78a46 100644
--- a/WebCore/svg/SVGStopElement.cpp
+++ b/WebCore/svg/SVGStopElement.cpp
@@ -32,14 +32,15 @@
namespace WebCore {
-SVGStopElement::SVGStopElement(const QualifiedName& tagName, Document* doc)
- : SVGStyledElement(tagName, doc)
+inline SVGStopElement::SVGStopElement(const QualifiedName& tagName, Document* document)
+ : SVGStyledElement(tagName, document)
, m_offset(0)
{
}
-SVGStopElement::~SVGStopElement()
+PassRefPtr<SVGStopElement> SVGStopElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGStopElement(tagName, document));
}
void SVGStopElement::parseMappedAttribute(Attribute* attr)