Index: third_party/WebKit/Source/core/svg/SVGCircleElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGCircleElement.cpp b/third_party/WebKit/Source/core/svg/SVGCircleElement.cpp |
index 519b82ea9fbd1ae0c0f8c563e80f4e9edc30dba4..dd423aafd3086e23f55d40d25f01e62e99c8f963 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGCircleElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGCircleElement.cpp |
@@ -87,11 +87,11 @@ void SVGCircleElement::collectStyleForPresentationAttribute(const QualifiedName& |
{ |
RefPtrWillBeRawPtr<SVGAnimatedPropertyBase> property = propertyFromAttribute(name); |
if (property == m_cx) |
- addSVGLengthPropertyToPresentationAttributeStyle(style, CSSPropertyCx, *m_cx->currentValue()); |
+ addPropertyToPresentationAttributeStyle(style, CSSPropertyCx, m_cx->currentValue()->asCSSPrimitiveValue()); |
else if (property == m_cy) |
- addSVGLengthPropertyToPresentationAttributeStyle(style, CSSPropertyCy, *m_cy->currentValue()); |
+ addPropertyToPresentationAttributeStyle(style, CSSPropertyCy, m_cy->currentValue()->asCSSPrimitiveValue()); |
else if (property == m_r) |
- addSVGLengthPropertyToPresentationAttributeStyle(style, CSSPropertyR, *m_r->currentValue()); |
+ addPropertyToPresentationAttributeStyle(style, CSSPropertyR, m_r->currentValue()->asCSSPrimitiveValue()); |
else |
SVGGeometryElement::collectStyleForPresentationAttribute(name, value, style); |
} |