| 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 3699bc78bd69e395e9129aa4e1da804f36750a90..14b2737c5bf82a276af1d2c4f9184f18a97e251e 100644
|
| --- a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
|
| @@ -35,10 +35,10 @@
|
| #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/SVGPointListInterpolationType.h"
|
| #include "core/animation/SVGStrokeDasharrayStyleInterpolation.h"
|
| #include "core/animation/SVGValueInterpolationType.h"
|
| #include "core/animation/TransformSVGInterpolation.h"
|
| @@ -294,6 +294,8 @@ const InterpolationTypes* applicableTypesForProperty(PropertyHandle property)
|
| || attribute == SVGNames::surfaceScaleAttr
|
| || attribute == SVGNames::zAttr) {
|
| applicableTypes->append(adoptPtr(new SVGNumberInterpolationType(attribute)));
|
| + } else if (attribute == SVGNames::pointsAttr) {
|
| + applicableTypes->append(adoptPtr(new SVGPointListInterpolationType(attribute)));
|
| } else if (attribute == HTMLNames::classAttr
|
| || attribute == SVGNames::clipPathUnitsAttr
|
| || attribute == SVGNames::edgeModeAttr
|
| @@ -572,9 +574,6 @@ PassRefPtr<Interpolation> createSVGInterpolation(SVGPropertyBase* fromValue, SVG
|
| case AnimatedPath:
|
| interpolation = PathSVGInterpolation::maybeCreate(fromValue, toValue, attribute);
|
| break;
|
| - case AnimatedPoints:
|
| - interpolation = ListSVGInterpolation<PointSVGInterpolation>::maybeCreate(fromValue, toValue, attribute);
|
| - break;
|
| case AnimatedRect:
|
| return RectSVGInterpolation::create(fromValue, toValue, attribute);
|
| case AnimatedTransformList:
|
| @@ -584,6 +583,7 @@ PassRefPtr<Interpolation> createSVGInterpolation(SVGPropertyBase* fromValue, SVG
|
| // Handled by SVGInterpolationTypes.
|
| case AnimatedAngle:
|
| case AnimatedNumber:
|
| + case AnimatedPoints:
|
| ASSERT_NOT_REACHED();
|
| // Fallthrough.
|
|
|
|
|