Index: Source/core/animation/AnimationPlayer.cpp |
diff --git a/Source/core/animation/AnimationPlayer.cpp b/Source/core/animation/AnimationPlayer.cpp |
index 6bcdb6b9b7afd894213d44a540da3da0c10f9751..94cd7cc2d75907f12ad1a1edf94fc1ea1833baff 100644 |
--- a/Source/core/animation/AnimationPlayer.cpp |
+++ b/Source/core/animation/AnimationPlayer.cpp |
@@ -123,8 +123,6 @@ bool AnimationPlayer::limited(double currentTime) const |
void AnimationPlayer::setCurrentTime(double newCurrentTime) |
{ |
UseCounter::count(executionContext(), UseCounter::AnimationPlayerSetCurrentTime); |
- if (!std::isfinite(newCurrentTime)) |
- return; |
PlayStateUpdateScope updateScope(*this, TimingUpdateOnDemand); |
@@ -372,8 +370,6 @@ void AnimationPlayer::setStartTime(double startTime) |
UseCounter::count(executionContext(), UseCounter::AnimationPlayerSetStartTime); |
if (m_paused || playStateInternal() == Idle) |
return; |
- if (!std::isfinite(startTime)) |
- return; |
if (startTime == m_startTime) |
return; |
@@ -626,8 +622,6 @@ double AnimationPlayer::playbackRate() const |
void AnimationPlayer::setPlaybackRate(double playbackRate) |
{ |
UseCounter::count(executionContext(), UseCounter::AnimationPlayerSetPlaybackRate); |
- if (!std::isfinite(playbackRate)) |
- return; |
if (playbackRate == m_playbackRate) |
return; |