summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGPatternElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGPatternElement.cpp')
-rw-r--r--WebCore/svg/SVGPatternElement.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/WebCore/svg/SVGPatternElement.cpp b/WebCore/svg/SVGPatternElement.cpp
index 94d3572..6a8a108 100644
--- a/WebCore/svg/SVGPatternElement.cpp
+++ b/WebCore/svg/SVGPatternElement.cpp
@@ -49,13 +49,8 @@ using namespace std;
namespace WebCore {
-SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Document* doc)
- : SVGStyledElement(tagName, doc)
- , SVGURIReference()
- , SVGTests()
- , SVGLangSpace()
- , SVGExternalResourcesRequired()
- , SVGFitToViewBox()
+inline SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Document* document)
+ : SVGStyledElement(tagName, document)
, m_x(LengthModeWidth)
, m_y(LengthModeHeight)
, m_width(LengthModeWidth)
@@ -66,8 +61,9 @@ SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Document* doc
{
}
-SVGPatternElement::~SVGPatternElement()
+PassRefPtr<SVGPatternElement> SVGPatternElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGPatternElement(tagName, document));
}
void SVGPatternElement::parseMappedAttribute(Attribute* attr)