| Index: Source/core/animation/AnimationPlayer.cpp
|
| diff --git a/Source/core/animation/AnimationPlayer.cpp b/Source/core/animation/AnimationPlayer.cpp
|
| index 99a947be0be39fd2838bd2cb755a7331076d2671..a6ffd822f96b8218a69c023e434105628e05bf75 100644
|
| --- a/Source/core/animation/AnimationPlayer.cpp
|
| +++ b/Source/core/animation/AnimationPlayer.cpp
|
| @@ -854,7 +854,7 @@ void AnimationPlayer::endUpdatingState()
|
|
|
| void AnimationPlayer::createCompositorPlayer()
|
| {
|
| - if (RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled() && !m_compositorPlayer && Platform::current()->compositorSupport()) {
|
| + if (!m_compositorPlayer) {
|
| m_compositorPlayer = adoptPtr(Platform::current()->compositorSupport()->createAnimationPlayer());
|
| ASSERT(m_compositorPlayer);
|
| m_compositorPlayer->setAnimationDelegate(this);
|
| @@ -895,7 +895,7 @@ void AnimationPlayer::detachCompositorTimeline()
|
|
|
| void AnimationPlayer::attachCompositedLayers()
|
| {
|
| - if (!RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled() || !m_compositorPlayer)
|
| + if (!m_compositorPlayer)
|
| return;
|
|
|
| ASSERT(m_content);
|
| @@ -913,7 +913,6 @@ void AnimationPlayer::detachCompositedLayers()
|
|
|
| void AnimationPlayer::notifyAnimationStarted(double monotonicTime, int group)
|
| {
|
| - ASSERT(RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled());
|
| timeline()->document()->compositorPendingAnimations().notifyCompositorAnimationStarted(monotonicTime, group);
|
| }
|
|
|
|
|