Index: Source/core/svg/SVGElement.cpp |
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp |
index 4c661a32e7750bc169ba188f681a65566d43e2de..804be5069556afe964a9da5941671d47ebaa14ad 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)) { |