| Index: cc/layers/layer_impl.cc
|
| diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
|
| index 3ee0f7534c17f7e2df443936015d490963f51954..5d2ed7e5b1df5923f6b3223c76f2e699c1f2c6f6 100644
|
| --- a/cc/layers/layer_impl.cc
|
| +++ b/cc/layers/layer_impl.cc
|
| @@ -484,7 +484,9 @@ void LayerImpl::UpdatePropertyTreeForScrollingAndAnimationIfNeeded() {
|
| bool has_potential_animation = HasPotentiallyRunningTransformAnimation();
|
| if (node->has_potential_animation != has_potential_animation) {
|
| node->has_potential_animation = has_potential_animation;
|
| - node->has_only_translation_animations = HasOnlyTranslationTransforms();
|
| + node->has_only_translation_animations =
|
| + GetMutatorHost()->HasOnlyTranslationTransforms(
|
| + element_id(), GetElementTypeForAnimation());
|
| GetTransformTree().set_needs_update(true);
|
| layer_tree_impl()->set_needs_update_draw_properties();
|
| }
|
| @@ -680,11 +682,6 @@ bool LayerImpl::HasPotentiallyRunningTransformAnimation() const {
|
| element_id(), GetElementTypeForAnimation());
|
| }
|
|
|
| -bool LayerImpl::HasOnlyTranslationTransforms() const {
|
| - return GetMutatorHost()->HasOnlyTranslationTransforms(
|
| - element_id(), GetElementTypeForAnimation());
|
| -}
|
| -
|
| bool LayerImpl::HasAnyAnimationTargetingProperty(
|
| TargetProperty::Type property) const {
|
| return GetMutatorHost()->HasAnyAnimationTargetingProperty(element_id(),
|
|
|