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

Unified Diff: content/test/web_layer_tree_view_impl_for_testing.cc

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: Rebase. Fix copyrights and years. Created 4 years, 10 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: content/test/web_layer_tree_view_impl_for_testing.cc
diff --git a/content/test/web_layer_tree_view_impl_for_testing.cc b/content/test/web_layer_tree_view_impl_for_testing.cc
index 343dc67d0571a12de27111938bc37dd9e9984fb1..0c0559c9c2c0cf490a5146ee03424ce7c3d131f2 100644
--- a/content/test/web_layer_tree_view_impl_for_testing.cc
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc
@@ -11,7 +11,6 @@
#include "cc/animation/animation_host.h"
#include "cc/animation/animation_timeline.h"
#include "cc/base/switches.h"
-#include "cc/blink/web_compositor_animation_timeline_impl.h"
#include "cc/blink/web_layer_impl.h"
#include "cc/input/input_handler.h"
#include "cc/layers/layer.h"
@@ -66,23 +65,16 @@ void WebLayerTreeViewImplForTesting::clearRootLayer() {
}
void WebLayerTreeViewImplForTesting::attachCompositorAnimationTimeline(
- blink::WebCompositorAnimationTimeline* compositor_timeline) {
- DCHECK(compositor_timeline);
+ cc::AnimationTimeline* compositor_timeline) {
DCHECK(layer_tree_host_->animation_host());
- layer_tree_host_->animation_host()->AddAnimationTimeline(
- static_cast<const cc_blink::WebCompositorAnimationTimelineImpl*>(
- compositor_timeline)
- ->animation_timeline());
+ layer_tree_host_->animation_host()->AddAnimationTimeline(compositor_timeline);
}
void WebLayerTreeViewImplForTesting::detachCompositorAnimationTimeline(
- blink::WebCompositorAnimationTimeline* compositor_timeline) {
- DCHECK(compositor_timeline);
+ cc::AnimationTimeline* compositor_timeline) {
DCHECK(layer_tree_host_->animation_host());
layer_tree_host_->animation_host()->RemoveAnimationTimeline(
- static_cast<const cc_blink::WebCompositorAnimationTimelineImpl*>(
- compositor_timeline)
- ->animation_timeline());
+ compositor_timeline);
}
void WebLayerTreeViewImplForTesting::setViewportSize(
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | third_party/WebKit/Source/core/animation/Animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698