| Index: cc/trees/layer_tree_host.cc
|
| diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
|
| index 903236ec060f00df4cf06b52e4188581bda9c359..a9d4e06dbc466f061444e699de75f904e4f9cc8d 100644
|
| --- a/cc/trees/layer_tree_host.cc
|
| +++ b/cc/trees/layer_tree_host.cc
|
| @@ -1469,81 +1469,6 @@ gfx::ScrollOffset LayerTreeHost::GetScrollOffsetForAnimation(
|
| return layer->ScrollOffsetForAnimation();
|
| }
|
|
|
| -bool LayerTreeHost::ScrollOffsetAnimationWasInterrupted(
|
| - const Layer* layer) const {
|
| - return animation_host_->ScrollOffsetAnimationWasInterrupted(
|
| - layer->element_id());
|
| -}
|
| -
|
| -bool LayerTreeHost::IsAnimatingFilterProperty(const Layer* layer) const {
|
| - return animation_host_->IsAnimatingFilterProperty(layer->element_id(),
|
| - ElementListType::ACTIVE);
|
| -}
|
| -
|
| -bool LayerTreeHost::IsAnimatingOpacityProperty(const Layer* layer) const {
|
| - return animation_host_->IsAnimatingOpacityProperty(layer->element_id(),
|
| - ElementListType::ACTIVE);
|
| -}
|
| -
|
| -bool LayerTreeHost::IsAnimatingTransformProperty(const Layer* layer) const {
|
| - return animation_host_->IsAnimatingTransformProperty(layer->element_id(),
|
| - ElementListType::ACTIVE);
|
| -}
|
| -
|
| -bool LayerTreeHost::HasPotentiallyRunningFilterAnimation(
|
| - const Layer* layer) const {
|
| - return animation_host_->HasPotentiallyRunningFilterAnimation(
|
| - layer->element_id(), ElementListType::ACTIVE);
|
| -}
|
| -
|
| -bool LayerTreeHost::HasPotentiallyRunningOpacityAnimation(
|
| - const Layer* layer) const {
|
| - return animation_host_->HasPotentiallyRunningOpacityAnimation(
|
| - layer->element_id(), ElementListType::ACTIVE);
|
| -}
|
| -
|
| -bool LayerTreeHost::HasPotentiallyRunningTransformAnimation(
|
| - const Layer* layer) const {
|
| - return animation_host_->HasPotentiallyRunningTransformAnimation(
|
| - layer->element_id(), ElementListType::ACTIVE);
|
| -}
|
| -
|
| -bool LayerTreeHost::HasOnlyTranslationTransforms(const Layer* layer) const {
|
| - return animation_host_->HasOnlyTranslationTransforms(layer->element_id(),
|
| - ElementListType::ACTIVE);
|
| -}
|
| -
|
| -bool LayerTreeHost::MaximumTargetScale(const Layer* layer,
|
| - float* max_scale) const {
|
| - return animation_host_->MaximumTargetScale(
|
| - layer->element_id(), ElementListType::ACTIVE, max_scale);
|
| -}
|
| -
|
| -bool LayerTreeHost::AnimationStartScale(const Layer* layer,
|
| - float* start_scale) const {
|
| - return animation_host_->AnimationStartScale(
|
| - layer->element_id(), ElementListType::ACTIVE, start_scale);
|
| -}
|
| -
|
| -bool LayerTreeHost::HasAnyAnimationTargetingProperty(
|
| - const Layer* layer,
|
| - TargetProperty::Type property) const {
|
| - return animation_host_->HasAnyAnimationTargetingProperty(layer->element_id(),
|
| - property);
|
| -}
|
| -
|
| -bool LayerTreeHost::AnimationsPreserveAxisAlignment(const Layer* layer) const {
|
| - return animation_host_->AnimationsPreserveAxisAlignment(layer->element_id());
|
| -}
|
| -
|
| -bool LayerTreeHost::HasAnyAnimation(const Layer* layer) const {
|
| - return animation_host_->HasAnyAnimation(layer->element_id());
|
| -}
|
| -
|
| -bool LayerTreeHost::HasActiveAnimationForTesting(const Layer* layer) const {
|
| - return animation_host_->HasActiveAnimationForTesting(layer->element_id());
|
| -}
|
| -
|
| bool LayerTreeHost::IsSingleThreaded() const {
|
| DCHECK(compositor_mode_ != CompositorMode::SINGLE_THREADED ||
|
| !task_runner_provider_->HasImplThread());
|
|
|