Index: third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp b/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp |
index daf86ffa523129e5401b5d4e2478b36e9fc5b38b..54a8bd32eab821bbf696b7a8851171ef32cdecd0 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp |
@@ -71,16 +71,16 @@ void SVGForeignObjectElement::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, |