| Index: cc/layers/layer.cc
|
| diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
|
| index b02c456e77dad686bce13d86edb489d8fd33ddc1..4d66004bf38568c77fac9f13fbe0fe8ab30a28f5 100644
|
| --- a/cc/layers/layer.cc
|
| +++ b/cc/layers/layer.cc
|
| @@ -1705,23 +1705,11 @@ void Layer::OnTransformIsPotentiallyAnimatingChanged(
|
|
|
| node->data.has_potential_animation = has_potential_animation;
|
| if (has_potential_animation) {
|
| - float maximum_target_scale = 0.f;
|
| - node->data.local_maximum_animation_target_scale =
|
| - MaximumTargetScale(&maximum_target_scale) ? maximum_target_scale : 0.f;
|
| -
|
| - float animation_start_scale = 0.f;
|
| - node->data.local_starting_animation_scale =
|
| - AnimationStartScale(&animation_start_scale) ? animation_start_scale
|
| - : 0.f;
|
| -
|
| node->data.has_only_translation_animations = HasOnlyTranslationTransforms();
|
| -
|
| - } else {
|
| - node->data.local_maximum_animation_target_scale = 0.f;
|
| - node->data.local_starting_animation_scale = 0.f;
|
| - node->data.has_only_translation_animations = true;
|
| - }
|
| - property_trees->transform_tree.set_needs_update(true);
|
| + } else {
|
| + node->data.has_only_translation_animations = true;
|
| + }
|
| + property_trees->transform_tree.set_needs_update(true);
|
| }
|
|
|
| void Layer::OnOpacityIsCurrentlyAnimatingChanged(bool is_currently_animating) {
|
|
|