Index: cc/layers/layer.cc |
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
index ca0e3b8e99f607d3a3e284abcbc5e454b8ec7c21..5b933bfe5af1adb4f9e8db7bdd7c3066c255a8b0 100644 |
--- a/cc/layers/layer.cc |
+++ b/cc/layers/layer.cc |
@@ -1204,6 +1204,12 @@ void Layer::RemoveAnimation(int animation_id) { |
SetNeedsCommit(); |
} |
+void Layer::RemoveAnimation(int animation_id, |
+ Animation::TargetProperty property) { |
+ layer_animation_controller_->RemoveAnimation(animation_id, property); |
+ SetNeedsCommit(); |
+} |
+ |
void Layer::SetLayerAnimationControllerForTest( |
scoped_refptr<LayerAnimationController> controller) { |
layer_animation_controller_->RemoveValueObserver(this); |