| Index: third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| index 5cdb55aa470102e089166c9dd519594f4026d229..eec5eb4625d4fd4ce95c32121b79cb9a1acc8b7d 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| @@ -230,18 +230,18 @@ void SVGSVGElement::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 (isOutermostSVGSVGElement() &&
|
| (property == m_width || property == m_height)) {
|
| 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 {
|
|
|