Index: third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp |
index cb2e4aa0d60746e15fca2838df3383cd53fa26cb..10150aca88ddd3e29ce7239a127e4ce74d16d017 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp |
@@ -467,12 +467,8 @@ void SVGAnimationElement::currentValuesForValuesAnimation( |
CalcMode calcMode = this->getCalcMode(); |
if (isSVGAnimateElement(*this)) { |
SVGAnimateElement& animateElement = toSVGAnimateElement(*this); |
- if (!animateElement.animatedPropertyTypeSupportsAddition()) { |
- ASSERT(animateElement.animatedPropertyType() != AnimatedTransformList || |
- isSVGAnimateTransformElement(*this)); |
- ASSERT(animateElement.animatedPropertyType() != AnimatedUnknown); |
+ if (!animateElement.animatedPropertyTypeSupportsAddition()) |
calcMode = CalcModeDiscrete; |
- } |
} |
if (!m_keyPoints.isEmpty() && calcMode != CalcModePaced) |
return currentValuesFromKeyPoints(percent, effectivePercent, from, to); |