| Index: webkit/compositor_bindings/web_layer_impl.cc
|
| diff --git a/webkit/compositor_bindings/web_layer_impl.cc b/webkit/compositor_bindings/web_layer_impl.cc
|
| index c1c76663bbc72698f96384f16c8b72191342989d..fd436f9e01532e40dbcb4a898ab95701b7301603 100644
|
| --- a/webkit/compositor_bindings/web_layer_impl.cc
|
| +++ b/webkit/compositor_bindings/web_layer_impl.cc
|
| @@ -178,25 +178,24 @@ void WebLayerImpl::setAnimationDelegate(WebAnimationDelegate* delegate) {
|
| }
|
|
|
| bool WebLayerImpl::addAnimation(WebAnimation* animation) {
|
| - return layer_->addAnimation(static_cast<WebAnimationImpl*>(animation)
|
| - ->cloneToAnimation());
|
| + return layer_->AddAnimation(
|
| + static_cast<WebAnimationImpl*>(animation)->cloneToAnimation());
|
| }
|
|
|
| void WebLayerImpl::removeAnimation(int animation_id) {
|
| - layer_->removeAnimation(animation_id);
|
| + layer_->RemoveAnimation(animation_id);
|
| }
|
|
|
| void WebLayerImpl::removeAnimation(
|
| int animation_id,
|
| WebAnimation::TargetProperty target_property) {
|
| - layer_->layerAnimationController()
|
| - ->removeAnimation(
|
| - animation_id,
|
| - static_cast<Animation::TargetProperty>(target_property));
|
| + layer_->layerAnimationController()->RemoveAnimation(
|
| + animation_id,
|
| + static_cast<Animation::TargetProperty>(target_property));
|
| }
|
|
|
| void WebLayerImpl::pauseAnimation(int animation_id, double time_offset) {
|
| - layer_->pauseAnimation(animation_id, time_offset);
|
| + layer_->PauseAnimation(animation_id, time_offset);
|
| }
|
|
|
| void WebLayerImpl::suspendAnimations(double monotonic_time) {
|
|
|