Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1226)

Unified Diff: Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp

Issue 132233016: [SVG] SVGAnimatedPointList migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: set NeedsRebaseline Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/svg/SVGTextQuery.cpp ('k') | Source/core/svg/SVGAnimatedPointList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp
diff --git a/Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp b/Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp
index b23b8b20b64f6a997fb38ad7a29550e16d509d51..33196fe98877af258e42ca8ff48a02807cba4323 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 AnimatedPoint:
+ case AnimatedPoints:
+ case AnimatedRect:
+ 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();
« no previous file with comments | « Source/core/rendering/svg/SVGTextQuery.cpp ('k') | Source/core/svg/SVGAnimatedPointList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698