| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index b8fff40ebdf36eee772373aee8558f1614b1456b..e949b16183970af27e11ae9c8db5d1234da77c32 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1555,7 +1555,7 @@ CompositorFrameMetadata LayerTreeHostImpl::MakeCompositorFrameMetadata() const {
|
|
|
| if (GetDrawMode() == DRAW_MODE_RESOURCELESS_SOFTWARE) {
|
| metadata.is_resourceless_software_draw_with_scroll_or_animation =
|
| - IsActivelyScrolling() || mutator_host_->NeedsAnimateLayers();
|
| + IsActivelyScrolling() || mutator_host_->NeedsTickAnimations();
|
| }
|
|
|
| for (LayerImpl* surface_layer : active_tree_->SurfaceLayers()) {
|
| @@ -3441,7 +3441,7 @@ bool LayerTreeHostImpl::AnimateScrollbars(base::TimeTicks monotonic_time) {
|
| }
|
|
|
| bool LayerTreeHostImpl::AnimateLayers(base::TimeTicks monotonic_time) {
|
| - const bool animated = mutator_host_->AnimateLayers(monotonic_time);
|
| + const bool animated = mutator_host_->TickAnimations(monotonic_time);
|
|
|
| // TODO(crbug.com/551134): Only do this if the animations are on the active
|
| // tree, or if they are on the pending tree waiting for some future time to
|
|
|