| Index: Source/core/animation/Animation.cpp
|
| diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp
|
| index 919ff32c8b32ca0ba4992fede809694be58ab4fa..67d15adf685d965614778416c43f1f3cbdf56ad6 100644
|
| --- a/Source/core/animation/Animation.cpp
|
| +++ b/Source/core/animation/Animation.cpp
|
| @@ -743,13 +743,16 @@ void Animation::setCompositorPending(bool effectChanged)
|
| if (m_compositorPending || m_isPausedForTesting) {
|
| return;
|
| }
|
| +#if !ENABLE(OILPAN)
|
| + if (!timeline() || !timeline()->document()) {
|
| + return;
|
| + }
|
| +#endif
|
|
|
| if (!m_compositorState || m_compositorState->effectChanged
|
| || !playing() || m_compositorState->playbackRate != m_playbackRate
|
| || m_compositorState->startTime != m_startTime) {
|
| m_compositorPending = true;
|
| - ASSERT(timeline());
|
| - ASSERT(timeline()->document());
|
| timeline()->document()->compositorPendingAnimations().add(this);
|
| }
|
| }
|
|
|