Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index 4239ef7b8f88b797e81b034ee09258ff8fdff51b..7b8789ae15ae0abc9c40bd3291328255aa901331 100644 |
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -942,7 +942,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyBaselineShift(StyleResolverStat |
CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
if (!primitiveValue->isValueID()) { |
svgStyle.setBaselineShift(BS_LENGTH); |
- svgStyle.setBaselineShiftValue(SVGLength::fromCSSPrimitiveValue(primitiveValue)); |
+ svgStyle.setBaselineShiftValue(StyleBuilderConverter::convertLength(state, primitiveValue)); |
return; |
} |
switch (primitiveValue->getValueID()) { |