Descriptioncc: Don't schedule top controls animation when there isn't one
If the top controls manager calculates an animation scroll delta of
zero, we schedule another animation attempt for the following frame.
This causes the compositor to run constantly -- for instance -- on pages
where scrolling JavaScript-driven instead of impl-driven.
The fix is to bail out if there is no active top controls animation.
TEST=LayerTreeHostImplWithTopControlsTest.NoIdleAnimation
BUG=309648
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251770
Patch Set 1 #Patch Set 2 : mismatch smismatch #
Messages
Total messages: 9 (0 generated)
|