summaryrefslogtreecommitdiffstats
path: root/sync/js
diff options
context:
space:
mode:
authorbokan@chromium.org <bokan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-10 22:44:05 +0000
committerbokan@chromium.org <bokan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-10 22:44:05 +0000
commitd5d60089a9dd4d5220fe547866dd547d376ed251 (patch)
tree39668fc9846fa827e86caafb44bb065d81ec259e /sync/js
parenta86a61db8cdf05123dd10569c40f90d9bb5fc514 (diff)
downloadchromium_src-d5d60089a9dd4d5220fe547866dd547d376ed251.zip
chromium_src-d5d60089a9dd4d5220fe547866dd547d376ed251.tar.gz
chromium_src-d5d60089a9dd4d5220fe547866dd547d376ed251.tar.bz2
Fix for often broken fling scrolls on Aura
Because the Animate() method was recently changed to pass the current frame's tick time in r259735, getting the diff between it and the fling's start time would often result in a negative time delta. This caused the fling to report no scrolling and the scroll would stop. We still want to start flinging immediately where possible so instead of letting Animate() always set the startTime and losing a frame, we do it only for a non-positive time delta. This does not affect Android since its gesture fling ignores the passed delta and uses gfx::FrameTime::Now(). BUG=360633 Review URL: https://codereview.chromium.org/232683003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263104 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/js')
0 files changed, 0 insertions, 0 deletions