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 eadc802a5be4bdf41daaa42ffc5c33a91a2afc2f..11a3e617ee8ed2e673c58bc0edd8c0247cf1300d 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGMaskElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGMaskElement.cpp |
@@ -94,16 +94,16 @@ void SVGMaskElement::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 { |
SVGElement::collectStyleForPresentationAttribute(name, value, style); |