Chromium Code Reviews| Index: Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp |
| diff --git a/Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp b/Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp |
| index b23b8b20b64f6a997fb38ad7a29550e16d509d51..39f05262fef987a60a76fd54dccaa557a60bc3b8 100644 |
| --- a/Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp |
| +++ b/Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp |
| @@ -35,6 +35,7 @@ |
| #include "core/svg/SVGElementInstance.h" |
| #include "core/svg/SVGLength.h" |
| #include "core/svg/SVGLengthList.h" |
| +#include "core/svg/SVGPointList.h" |
| namespace WebCore { |
| @@ -81,9 +82,15 @@ PassRefPtr<NewSVGPropertyBase> SVGAnimatedNewPropertyAnimator::createPropertyFor |
| return property.release(); |
| } |
| + // These types don't appear in the table in SVGElement::cssPropertyToTypeMap() and thus don't need support. |
| + case AnimatedBoolean: |
| + case AnimatedRect: |
|
haraken
2014/01/17 11:50:18
Alphabetical order please.
kouhei (in TOK)
2014/01/20 01:10:26
Done.
|
| + case AnimatedPoint: |
| + case AnimatedPoints: |
| + ASSERT_NOT_REACHED(); |
| + |
| // These properties are not yet migrated to NewProperty implementation. see http://crbug.com/308818 |
| case AnimatedAngle: |
| - case AnimatedBoolean: |
| case AnimatedColor: |
| case AnimatedEnumeration: |
| case AnimatedInteger: |
| @@ -92,9 +99,7 @@ PassRefPtr<NewSVGPropertyBase> SVGAnimatedNewPropertyAnimator::createPropertyFor |
| case AnimatedNumberList: |
| case AnimatedNumberOptionalNumber: |
| case AnimatedPath: |
| - case AnimatedPoints: |
| case AnimatedPreserveAspectRatio: |
| - case AnimatedRect: |
| case AnimatedString: |
| case AnimatedTransformList: |
| ASSERT_NOT_REACHED(); |