Index: Source/core/svg/SVGElement.cpp |
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp |
index 0c28644a2127af181a58cfbc7358966f02de4526..6e55bc3c7acdb9bbabbe0aaff31ea1492875db7e 100644 |
--- a/Source/core/svg/SVGElement.cpp |
+++ b/Source/core/svg/SVGElement.cpp |
@@ -722,6 +722,13 @@ void SVGElement::collectStyleForPresentationAttribute(const QualifiedName& name, |
addPropertyToPresentationAttributeStyle(style, propertyID, value); |
} |
+void SVGElement::addSVGLengthPropertyToPresentationAttributeStyle(MutableStylePropertySet* style, CSSPropertyID property, SVGLength& length) |
+{ |
+ addPropertyToPresentationAttributeStyle(style, property, |
+ length.valueInSpecifiedUnits(), |
+ length.cssUnitTypeQuirk()); |
+} |
+ |
bool SVGElement::haveLoadedRequiredResources() |
{ |
for (SVGElement* child = Traversal<SVGElement>::firstChild(*this); child; child = Traversal<SVGElement>::nextSibling(*child)) { |