| Index: cc/layers/layer.cc
|
| diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
|
| index a3a79b49cbb27b03ebca999a7bf5fe0dee5fd569..2490e64b9cb5b926eaba8f66635aad9f105dfe9e 100644
|
| --- a/cc/layers/layer.cc
|
| +++ b/cc/layers/layer.cc
|
| @@ -1875,6 +1875,12 @@ void Layer::RemoveAnimation(int animation_id,
|
| SetNeedsCommit();
|
| }
|
|
|
| +void Layer::AbortAnimation(int animation_id) {
|
| + DCHECK(layer_animation_controller_);
|
| + layer_animation_controller_->AbortAnimation(animation_id);
|
| + SetNeedsCommit();
|
| +}
|
| +
|
| void Layer::SetLayerAnimationControllerForTest(
|
| scoped_refptr<LayerAnimationController> controller) {
|
| DCHECK(layer_animation_controller_);
|
|
|