Index: Source/core/animation/StringKeyframe.cpp |
diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp |
index 8853639df5123a36a2f3da7c3a2929da75e020ee..9c7226403b71446ea3aa4dbca02ea55a7119c526 100644 |
--- a/Source/core/animation/StringKeyframe.cpp |
+++ b/Source/core/animation/StringKeyframe.cpp |
@@ -21,6 +21,7 @@ |
#include "core/animation/LengthStyleInterpolation.h" |
#include "core/animation/ListSVGInterpolation.h" |
#include "core/animation/ListStyleInterpolation.h" |
+#include "core/animation/NumberSVGInterpolation.h" |
#include "core/animation/PointSVGInterpolation.h" |
#include "core/animation/SVGStrokeDasharrayStyleInterpolation.h" |
#include "core/animation/ShadowStyleInterpolation.h" |
@@ -480,6 +481,11 @@ PassRefPtrWillBeRawPtr<Interpolation> createSVGInterpolation(SVGPropertyBase* fr |
if (AngleSVGInterpolation::canCreateFrom(fromValue) && AngleSVGInterpolation::canCreateFrom(toValue)) |
return AngleSVGInterpolation::create(fromValue, toValue, attribute); |
break; |
+ case AnimatedNumber: |
+ return NumberSVGInterpolation::create(fromValue, toValue, attribute); |
+ case AnimatedNumberList: |
+ interpolation = ListSVGInterpolation<NumberSVGInterpolation>::maybeCreate(fromValue, toValue, attribute); |
+ break; |
case AnimatedIntegerOptionalInteger: |
return IntegerOptionalIntegerSVGInterpolation::create(fromValue, toValue, attribute); |
case AnimatedPoints: |