Index: third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
index 947e974deb3588300c4ffe0081c633a89195a5e6..9d99cfd448faf9ba3fe9b29b3291f1f31f3dce2e 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
@@ -180,10 +180,10 @@ void SVGUseElement::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 { |
SVGGraphicsElement::collectStyleForPresentationAttribute(name, value, |