| Index: third_party/WebKit/Source/core/animation/Animation.cpp | 
| diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp | 
| index 62bb7c8f1af396eea05e5455e3b9f1c75de9b6d8..235ea4e2cf9190095d1ed00442a23a16b275e969 100644 | 
| --- a/third_party/WebKit/Source/core/animation/Animation.cpp | 
| +++ b/third_party/WebKit/Source/core/animation/Animation.cpp | 
| @@ -903,6 +903,9 @@ void Animation::endUpdatingState() | 
| void Animation::createCompositorPlayer() | 
| { | 
| if (Platform::current()->isThreadedAnimationEnabled() && !m_compositorPlayer) { | 
| +        // We only need to pre-finalize if we are running animations on the compositor. | 
| +        ThreadState::current()->registerPreFinalizer(this); | 
| + | 
| ASSERT(Platform::current()->compositorSupport()); | 
| m_compositorPlayer = CompositorAnimationPlayer::create(); | 
| ASSERT(m_compositorPlayer); | 
|  |