| Index: third_party/WebKit/Source/core/animation/StringKeyframe.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
|
| index 10d3bb3c3fc0f1c938a52093d048a2c34c59b64b..eaec254f3d010e67ad703541d21be564730ea574 100644
|
| --- a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
|
| @@ -33,13 +33,13 @@
|
| #include "core/animation/LengthStyleInterpolation.h"
|
| #include "core/animation/ListSVGInterpolation.h"
|
| #include "core/animation/ListStyleInterpolation.h"
|
| -#include "core/animation/NumberOptionalNumberSVGInterpolation.h"
|
| #include "core/animation/NumberSVGInterpolation.h"
|
| #include "core/animation/PathSVGInterpolation.h"
|
| #include "core/animation/PointSVGInterpolation.h"
|
| #include "core/animation/RectSVGInterpolation.h"
|
| #include "core/animation/SVGAngleInterpolationType.h"
|
| #include "core/animation/SVGNumberInterpolationType.h"
|
| +#include "core/animation/SVGNumberOptionalNumberInterpolationType.h"
|
| #include "core/animation/SVGStrokeDasharrayStyleInterpolation.h"
|
| #include "core/animation/SVGValueInterpolationType.h"
|
| #include "core/animation/TransformSVGInterpolation.h"
|
| @@ -290,6 +290,11 @@ const Vector<const InterpolationType*>* applicableTypesForProperty(PropertyHandl
|
| || attribute == SVGNames::surfaceScaleAttr
|
| || attribute == SVGNames::zAttr) {
|
| applicableTypes->append(new SVGNumberInterpolationType(attribute));
|
| + } else if (attribute == SVGNames::baseFrequencyAttr
|
| + || attribute == SVGNames::kernelUnitLengthAttr
|
| + || attribute == SVGNames::radiusAttr
|
| + || attribute == SVGNames::stdDeviationAttr) {
|
| + applicableTypes->append(new SVGNumberOptionalNumberInterpolationType(attribute));
|
| } else if (attribute == HTMLNames::classAttr
|
| || attribute == SVGNames::clipPathUnitsAttr
|
| || attribute == SVGNames::edgeModeAttr
|
| @@ -569,8 +574,6 @@ PassRefPtr<Interpolation> createSVGInterpolation(SVGPropertyBase* fromValue, SVG
|
| case AnimatedLengthList:
|
| interpolation = ListSVGInterpolation<LengthSVGInterpolation>::maybeCreate(fromValue, toValue, attribute);
|
| break;
|
| - case AnimatedNumberOptionalNumber:
|
| - return NumberOptionalNumberSVGInterpolation::create(fromValue, toValue, attribute);
|
| case AnimatedNumberList:
|
| interpolation = ListSVGInterpolation<NumberSVGInterpolation>::maybeCreate(fromValue, toValue, attribute);
|
| break;
|
| @@ -589,6 +592,7 @@ PassRefPtr<Interpolation> createSVGInterpolation(SVGPropertyBase* fromValue, SVG
|
| // Handled by SVGInterpolationTypes.
|
| case AnimatedAngle:
|
| case AnimatedNumber:
|
| + case AnimatedNumberOptionalNumber:
|
| ASSERT_NOT_REACHED();
|
| // Fallthrough.
|
|
|
|
|