Index: third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp b/third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp |
index 74210584eccab649d3ae5be36241c34d8fcdf7c0..e3c75954b29257084d937d2f288c56efb4e4985c 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp |
@@ -96,16 +96,16 @@ void SVGEllipseElement::collectStyleForPresentationAttribute( |
MutableStylePropertySet* style) { |
SVGAnimatedPropertyBase* property = propertyFromAttribute(name); |
if (property == m_cx) { |
- addPropertyToPresentationAttributeStyle(style, CSSPropertyCx, |
+ addPropertyToPresentationAttributeStyle(style, property->cssPropertyId(), |
m_cx->cssValue()); |
} else if (property == m_cy) { |
- addPropertyToPresentationAttributeStyle(style, CSSPropertyCy, |
+ addPropertyToPresentationAttributeStyle(style, property->cssPropertyId(), |
m_cy->cssValue()); |
} else if (property == m_rx) { |
- addPropertyToPresentationAttributeStyle(style, CSSPropertyRx, |
+ addPropertyToPresentationAttributeStyle(style, property->cssPropertyId(), |
m_rx->cssValue()); |
} else if (property == m_ry) { |
- addPropertyToPresentationAttributeStyle(style, CSSPropertyRy, |
+ addPropertyToPresentationAttributeStyle(style, property->cssPropertyId(), |
m_ry->cssValue()); |
} else { |
SVGGeometryElement::collectStyleForPresentationAttribute(name, value, |