Index: third_party/WebKit/Source/core/svg/SVGImageElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGImageElement.cpp b/third_party/WebKit/Source/core/svg/SVGImageElement.cpp |
index 4dc7f4e8730258d47123432fee5089b9c52928d0..99f083eae214dccc6296751d4afa06fb065655c7 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGImageElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGImageElement.cpp |
@@ -91,16 +91,16 @@ void SVGImageElement::collectStyleForPresentationAttribute( |
MutableStylePropertySet* style) { |
SVGAnimatedPropertyBase* property = propertyFromAttribute(name); |
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_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 { |
SVGGraphicsElement::collectStyleForPresentationAttribute(name, value, |