Index: cc/layers/layer_impl.cc |
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc |
index 1ad29f0a51f300aed28b34fbe6e220075691ab15..9a1b979d613ea6a0acfeab76580c49acf8998909 100644 |
--- a/cc/layers/layer_impl.cc |
+++ b/cc/layers/layer_impl.cc |
@@ -539,21 +539,9 @@ void LayerImpl::UpdatePropertyTreeTransformIsAnimated(bool is_animated) { |
if (node->data.has_potential_animation != is_animated) { |
node->data.has_potential_animation = is_animated; |
if (is_animated) { |
- 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; |
} |