Index: Source/core/svg/SVGRectElement.cpp |
diff --git a/Source/core/svg/SVGRectElement.cpp b/Source/core/svg/SVGRectElement.cpp |
index d7e408e23a5339a938d5fd1063c9b5e18d15c30a..93c88971580b31bf29a8231557ddff3a1b1365b0 100644 |
--- a/Source/core/svg/SVGRectElement.cpp |
+++ b/Source/core/svg/SVGRectElement.cpp |
@@ -28,7 +28,7 @@ |
namespace WebCore { |
-SVGRectElement::SVGRectElement(Document& document) |
+inline SVGRectElement::SVGRectElement(Document& document) |
: SVGGeometryElement(SVGNames::rectTag, document) |
, m_x(SVGAnimatedLength::create(this, SVGNames::xAttr, SVGLength::create(LengthModeWidth), AllowNegativeLengths)) |
, m_y(SVGAnimatedLength::create(this, SVGNames::yAttr, SVGLength::create(LengthModeHeight), AllowNegativeLengths)) |
@@ -47,6 +47,8 @@ SVGRectElement::SVGRectElement(Document& document) |
addToPropertyMap(m_ry); |
} |
+DEFINE_NODE_FACTORY(SVGRectElement) |
+ |
bool SVGRectElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |