| Index: third_party/WebKit/Source/core/svg/SVGMaskElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGMaskElement.cpp b/third_party/WebKit/Source/core/svg/SVGMaskElement.cpp
|
| index 3934670247d1514eb870182bb7b220142a89899b..00714e09346d32322c759e9d7bcfe53277eb5b14 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGMaskElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGMaskElement.cpp
|
| @@ -89,13 +89,13 @@ void SVGMaskElement::collectStyleForPresentationAttribute(const QualifiedName& n
|
| {
|
| RefPtrWillBeRawPtr<SVGAnimatedPropertyBase> property = propertyFromAttribute(name);
|
| if (property == m_x)
|
| - addSVGLengthPropertyToPresentationAttributeStyle(style, CSSPropertyX, *m_x->currentValue());
|
| + addPropertyToPresentationAttributeStyle(style, CSSPropertyX, m_x->currentValue()->asCSSPrimitiveValue());
|
| else if (property == m_y)
|
| - addSVGLengthPropertyToPresentationAttributeStyle(style, CSSPropertyY, *m_y->currentValue());
|
| + addPropertyToPresentationAttributeStyle(style, CSSPropertyY, m_y->currentValue()->asCSSPrimitiveValue());
|
| else if (property == m_width)
|
| - addSVGLengthPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, *m_width->currentValue());
|
| + addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, m_width->currentValue()->asCSSPrimitiveValue());
|
| else if (property == m_height)
|
| - addSVGLengthPropertyToPresentationAttributeStyle(style, CSSPropertyHeight, *m_height->currentValue());
|
| + addPropertyToPresentationAttributeStyle(style, CSSPropertyHeight, m_height->currentValue()->asCSSPrimitiveValue());
|
| else
|
| SVGElement::collectStyleForPresentationAttribute(name, value, style);
|
| }
|
|
|