| Index: cc/animation/element_animations.cc
|
| diff --git a/cc/animation/element_animations.cc b/cc/animation/element_animations.cc
|
| index b358b5b5e6d3f6d495e25a7da143eb4f6269809b..09219dc2c2c0e6a8d5c33aac6f27e4ac57418e4f 100644
|
| --- a/cc/animation/element_animations.cc
|
| +++ b/cc/animation/element_animations.cc
|
| @@ -94,6 +94,11 @@ void ElementAnimations::CreateLayerAnimationController(int layer_id) {
|
| void ElementAnimations::DestroyLayerAnimationController() {
|
| DCHECK(animation_host_);
|
|
|
| + if (active_value_observer_)
|
| + SetTransformIsPotentiallyAnimatingChanged(LayerTreeType::ACTIVE, false);
|
| + if (pending_value_observer_)
|
| + SetTransformIsPotentiallyAnimatingChanged(LayerTreeType::PENDING, false);
|
| +
|
| DestroyPendingValueObserver();
|
| DestroyActiveValueObserver();
|
|
|
|
|