summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
authorskyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-18 16:31:08 +0000
committerskyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-18 16:31:08 +0000
commit68d3fc19891f9864040264e6d6657720b886ac59 (patch)
treede0b33bd5b6449d7771daa1d3f08758f3985e892 /base/file_util.h
parent378b5cca625d884988ff7e3be809eed7accd83e8 (diff)
downloadchromium_src-68d3fc19891f9864040264e6d6657720b886ac59.zip
chromium_src-68d3fc19891f9864040264e6d6657720b886ac59.tar.gz
chromium_src-68d3fc19891f9864040264e6d6657720b886ac59.tar.bz2
cc: 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 Review URL: https://codereview.chromium.org/167013003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251770 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.h')
0 files changed, 0 insertions, 0 deletions