Index: Source/core/css/resolver/AnimatedStyleBuilder.cpp |
diff --git a/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
index a1d01855899a1c42651d2407d0e678d68fd4ef8d..f2f2b6dd4307cddecd20832c3d834322ad1edd14 100644 |
--- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
+++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
@@ -293,7 +293,7 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt |
setOnFillLayers<CSSPropertyBackgroundSize>(style->accessBackgroundLayers(), value, state); |
return; |
case CSSPropertyBaselineShift: |
- style->setBaselineShiftValue(toAnimatableSVGLength(value)->toSVGLength()); |
+ style->setBaselineShiftValue(animatableValueToLength(value, state)); |
return; |
case CSSPropertyBorderBottomColor: |
style->setBorderBottomColor(toAnimatableColor(value)->color()); |