Index: Source/core/svg/SVGAnimationElement.cpp |
diff --git a/Source/core/svg/SVGAnimationElement.cpp b/Source/core/svg/SVGAnimationElement.cpp |
index ea34b38e5da966ad1a6df438e3e5584d111a0697..f8f3848506f65055b550a3b359d0d4505435c5d6 100644 |
--- a/Source/core/svg/SVGAnimationElement.cpp |
+++ b/Source/core/svg/SVGAnimationElement.cpp |
@@ -272,8 +272,7 @@ void SVGAnimationElement::beginElement() |
void SVGAnimationElement::beginElementAt(float offset) |
{ |
- if (!std::isfinite(offset)) |
- return; |
+ ASSERT(std::isfinite(offset)); |
SMILTime elapsed = this->elapsed(); |
addBeginTime(elapsed, elapsed + offset, SMILTimeWithOrigin::ScriptOrigin); |
} |
@@ -285,8 +284,7 @@ void SVGAnimationElement::endElement() |
void SVGAnimationElement::endElementAt(float offset) |
{ |
- if (!std::isfinite(offset)) |
- return; |
+ ASSERT(std::isfinite(offset)); |
SMILTime elapsed = this->elapsed(); |
addEndTime(elapsed, elapsed + offset, SMILTimeWithOrigin::ScriptOrigin); |
} |