summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/svg/SVGCircleElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGCircleElement.cpp')
-rw-r--r--Source/WebCore/svg/SVGCircleElement.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/WebCore/svg/SVGCircleElement.cpp b/Source/WebCore/svg/SVGCircleElement.cpp
index 0ac4600..6a3a0d4 100644
--- a/Source/WebCore/svg/SVGCircleElement.cpp
+++ b/Source/WebCore/svg/SVGCircleElement.cpp
@@ -132,6 +132,22 @@ void SVGCircleElement::synchronizeProperty(const QualifiedName& attrName)
SVGTests::synchronizeProperties(this, attrName);
}
+AttributeToPropertyTypeMap& SVGCircleElement::attributeToPropertyTypeMap()
+{
+ DEFINE_STATIC_LOCAL(AttributeToPropertyTypeMap, s_attributeToPropertyTypeMap, ());
+ return s_attributeToPropertyTypeMap;
+}
+
+void SVGCircleElement::fillAttributeToPropertyTypeMap()
+{
+ AttributeToPropertyTypeMap& attributeToPropertyTypeMap = this->attributeToPropertyTypeMap();
+
+ SVGStyledTransformableElement::fillPassedAttributeToPropertyTypeMap(attributeToPropertyTypeMap);
+ attributeToPropertyTypeMap.set(SVGNames::cxAttr, AnimatedLength);
+ attributeToPropertyTypeMap.set(SVGNames::cyAttr, AnimatedLength);
+ attributeToPropertyTypeMap.set(SVGNames::rAttr, AnimatedLength);
+}
+
void SVGCircleElement::toPathData(Path& path) const
{
ASSERT(path.isEmpty());