| Index: Source/core/svg/SVGImageElement.cpp
|
| diff --git a/Source/core/svg/SVGImageElement.cpp b/Source/core/svg/SVGImageElement.cpp
|
| index 22ed66350b041b9c7d380548610b03bf66fae985..6f87c714c2babc5891bb7c1bc0d75d9329d3a509 100644
|
| --- a/Source/core/svg/SVGImageElement.cpp
|
| +++ b/Source/core/svg/SVGImageElement.cpp
|
| @@ -110,9 +110,9 @@ void SVGImageElement::collectStyleForPresentationAttribute(const QualifiedName&
|
| RefPtrWillBeRawPtr<SVGAnimatedPropertyBase> property = propertyFromAttribute(name);
|
|
|
| if (property == m_width)
|
| - addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, value);
|
| + addSVGLengthPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, *m_width->currentValue());
|
| else if (property == m_height)
|
| - addPropertyToPresentationAttributeStyle(style, CSSPropertyHeight, value);
|
| + addSVGLengthPropertyToPresentationAttributeStyle(style, CSSPropertyHeight, *m_height->currentValue());
|
| else if (property == m_x)
|
| addSVGLengthPropertyToPresentationAttributeStyle(style, CSSPropertyX, *m_x->currentValue());
|
| else if (property == m_y)
|
|
|