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..2314e5ccd8fdd68ee648382cc957d522fa0b94c5 100644 |
--- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
+++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
@@ -293,7 +293,8 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt |
setOnFillLayers<CSSPropertyBackgroundSize>(style->accessBackgroundLayers(), value, state); |
return; |
case CSSPropertyBaselineShift: |
- style->setBaselineShiftValue(toAnimatableSVGLength(value)->toSVGLength()); |
+ style->accessSVGStyle().setBaselineShift(BS_LENGTH); |
+ style->accessSVGStyle().setBaselineShiftValue(animatableValueToLength(value, state)); |
return; |
case CSSPropertyBorderBottomColor: |
style->setBorderBottomColor(toAnimatableColor(value)->color()); |