Index: Source/core/animation/css/CSSAnimatableValueFactory.cpp |
diff --git a/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
index dd60ecc5385df6ca37968f1f05d97875a190cf2c..5815f4cc3491da5c996611308b26b01faf5021b2 100644 |
--- a/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
+++ b/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
@@ -311,7 +311,7 @@ PassRefPtrWillBeRawPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPro |
case BS_SUB: |
return AnimatableUnknown::create(CSSPrimitiveValue::createIdentifier(CSSValueSub)); |
default: |
- return AnimatableSVGLength::create(style.baselineShiftValue()); |
+ return createFromLength(style.baselineShiftValue(), style); |
} |
case CSSPropertyBorderBottomColor: |
return createFromColor(property, style); |