Index: Source/core/animation/css/CSSAnimatableValueFactory.cpp |
diff --git a/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
index 112c92bdc50551e24f43d340dc3cf5006c961929..98229f58438b67c0ac6e00bf172bd3b3679372b3 100644 |
--- a/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
+++ b/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
@@ -442,7 +442,7 @@ PassRefPtrWillBeRawPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPro |
case CSSPropertyStrokeDasharray: |
return AnimatableStrokeDasharrayList::create(style.strokeDashArray()); |
case CSSPropertyStrokeDashoffset: |
- return AnimatableSVGLength::create(style.strokeDashOffset()); |
+ return createFromLength(style.strokeDashOffset(), style); |
case CSSPropertyStrokeMiterlimit: |
return createFromDouble(style.strokeMiterLimit()); |
case CSSPropertyStrokeOpacity: |