Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: third_party/WebKit/Source/core/animation/AnimationTimeline.cpp

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ScrollAnimatorCompositorCoordinator for MSVC. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698