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 eecf257f504428b29273b49d5836fdfc6239430b..0216cca96430a00ab17478f9b0cbdb83c101e2ee 100644 |
--- a/third_party/WebKit/Source/core/animation/Animation.cpp |
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp |
@@ -922,7 +922,7 @@ void Animation::createCompositorPlayer() |
{ |
if (RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled() && Platform::current()->isThreadedAnimationEnabled() && !m_compositorPlayer) { |
ASSERT(Platform::current()->compositorSupport()); |
- m_compositorPlayer = adoptPtr(CompositorFactory::current().createAnimationPlayer()); |
+ m_compositorPlayer = CompositorFactory::current().createAnimationPlayer(); |
ASSERT(m_compositorPlayer); |
m_compositorPlayer->setAnimationDelegate(this); |
attachCompositorTimeline(); |