summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGClipPathElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGClipPathElement.cpp')
-rw-r--r--WebCore/svg/SVGClipPathElement.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/WebCore/svg/SVGClipPathElement.cpp b/WebCore/svg/SVGClipPathElement.cpp
index baaae96..715a34e 100644
--- a/WebCore/svg/SVGClipPathElement.cpp
+++ b/WebCore/svg/SVGClipPathElement.cpp
@@ -34,17 +34,15 @@
namespace WebCore {
-SVGClipPathElement::SVGClipPathElement(const QualifiedName& tagName, Document* doc)
- : SVGStyledTransformableElement(tagName, doc)
- , SVGTests()
- , SVGLangSpace()
- , SVGExternalResourcesRequired()
+inline SVGClipPathElement::SVGClipPathElement(const QualifiedName& tagName, Document* document)
+ : SVGStyledTransformableElement(tagName, document)
, m_clipPathUnits(SVGUnitTypes::SVG_UNIT_TYPE_USERSPACEONUSE)
{
}
-SVGClipPathElement::~SVGClipPathElement()
+PassRefPtr<SVGClipPathElement> SVGClipPathElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGClipPathElement(tagName, document));
}
void SVGClipPathElement::parseMappedAttribute(Attribute* attr)