Index: content/renderer/gpu/render_widget_compositor.cc |
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc |
index 274fb80ee9903ca6b15a9003b8605f0a028f5a5e..59b109da491d69f5dcb9eb7b0f1df323e82cf552 100644 |
--- a/content/renderer/gpu/render_widget_compositor.cc |
+++ b/content/renderer/gpu/render_widget_compositor.cc |
@@ -24,7 +24,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/debug/layer_tree_debug_state.h" |
#include "cc/debug/micro_benchmark.h" |
@@ -605,21 +604,16 @@ void RenderWidgetCompositor::clearRootLayer() { |
} |
void RenderWidgetCompositor::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 RenderWidgetCompositor::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 RenderWidgetCompositor::setViewportSize( |