Index: Source/core/animation/AnimationPlayer.cpp |
diff --git a/Source/core/animation/AnimationPlayer.cpp b/Source/core/animation/AnimationPlayer.cpp |
index 50a57d2ce6acb01982f135bdb527fd352c6751b9..b920dbe3b76415182a3084f25d1cef5f20e600dc 100644 |
--- a/Source/core/animation/AnimationPlayer.cpp |
+++ b/Source/core/animation/AnimationPlayer.cpp |
@@ -803,12 +803,6 @@ void AnimationPlayer::cancel() |
m_startTime = nullValue(); |
m_currentTimePending = false; |
- // after cancelation, transitions must be downgraded or they'll fail |
- // to be considered when retriggering themselves. This can happen if |
- // the transition is captured through getAnimationPlayers then played. |
- if (m_content && m_content->isAnimation()) |
- toAnimation(m_content.get())->downgradeToNormalAnimation(); |
- |
InspectorInstrumentation::didCancelAnimationPlayer(timeline()->document(), this); |
} |