Index: third_party/WebKit/Source/core/animation/AnimationTimeline.cpp |
diff --git a/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp b/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp |
index 00f6c504a578216b5f31ba439923a0371837705e..b309296b5606eb6cb8628956d1462bc1ff7ffc7e 100644 |
--- a/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp |
+++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp |
@@ -36,10 +36,11 @@ |
#include "core/frame/FrameView.h" |
#include "core/loader/DocumentLoader.h" |
#include "core/page/Page.h" |
+#include "platform/CompositorFactory.h" |
#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/TraceEvent.h" |
+#include "platform/animation/WebCompositorAnimationTimeline.h" |
#include "public/platform/Platform.h" |
-#include "public/platform/WebCompositorAnimationTimeline.h" |
#include "public/platform/WebCompositorSupport.h" |
#include <algorithm> |
@@ -80,7 +81,7 @@ AnimationTimeline::AnimationTimeline(Document* document, PlatformTiming* timing) |
if (RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled() && Platform::current()->isThreadedAnimationEnabled()) { |
ASSERT(Platform::current()->compositorSupport()); |
- m_compositorTimeline = adoptPtr(Platform::current()->compositorSupport()->createAnimationTimeline()); |
+ m_compositorTimeline = adoptPtr(CompositorFactory::current().createAnimationTimeline()); |
} |
ASSERT(document); |