Chromium Code Reviews| Index: Source/core/animation/AnimationPlayer.cpp |
| diff --git a/Source/core/animation/AnimationPlayer.cpp b/Source/core/animation/AnimationPlayer.cpp |
| index 6d5716534fb012a9d4b6339cb04c0a6dc8c82075..9bf11031aeec4997151526aecaf81185598637b6 100644 |
| --- a/Source/core/animation/AnimationPlayer.cpp |
| +++ b/Source/core/animation/AnimationPlayer.cpp |
| @@ -599,7 +599,8 @@ void AnimationPlayer::setOutdated() |
| bool AnimationPlayer::canStartAnimationOnCompositor() |
| { |
| - if (m_playbackRate == 0 || (std::isinf(sourceEnd()) && m_playbackRate < 0)) |
| + // FIXME: Timeline playback rates should be compositable |
| + if (m_playbackRate == 0 || (std::isinf(sourceEnd()) && m_playbackRate < 0) || timeline()->playbackRate() != 1) |
|
Timothy Loh
2014/11/14 03:02:12
I think we might not have a timeline here...
|
| return false; |
| return m_timeline && m_content && m_content->isAnimation() && playing(); |