| Index: third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGRectElement.cpp b/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| index 4320bcb8a0fce09668357525c67531bd249909a4..0d7360ddd72576752f0cde3ce7dec66883afb719 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| @@ -122,22 +122,22 @@ void SVGRectElement::collectStyleForPresentationAttribute(
|
| MutableStylePropertySet* style) {
|
| SVGAnimatedPropertyBase* property = propertyFromAttribute(name);
|
| if (property == m_x) {
|
| - addPropertyToPresentationAttributeStyle(style, CSSPropertyX,
|
| + addPropertyToPresentationAttributeStyle(style, property->cssPropertyId(),
|
| m_x->cssValue());
|
| } else if (property == m_y) {
|
| - addPropertyToPresentationAttributeStyle(style, CSSPropertyY,
|
| + addPropertyToPresentationAttributeStyle(style, property->cssPropertyId(),
|
| m_y->cssValue());
|
| } else if (property == m_width) {
|
| - addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth,
|
| + addPropertyToPresentationAttributeStyle(style, property->cssPropertyId(),
|
| m_width->cssValue());
|
| } else if (property == m_height) {
|
| - addPropertyToPresentationAttributeStyle(style, CSSPropertyHeight,
|
| + addPropertyToPresentationAttributeStyle(style, property->cssPropertyId(),
|
| m_height->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,
|
|
|