summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-10 18:24:20 +0000
committerjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-10 18:24:20 +0000
commitcbdf6d505803f1467d90f5cfa2624a0d51386422 (patch)
tree598d06274f5dc6f02201ffbc5d65b1bc40b7ba77 /net
parent60a7a7effdebcdf4c57b55f20dd27b6cd6435652 (diff)
downloadchromium_src-cbdf6d505803f1467d90f5cfa2624a0d51386422.zip
chromium_src-cbdf6d505803f1467d90f5cfa2624a0d51386422.tar.gz
chromium_src-cbdf6d505803f1467d90f5cfa2624a0d51386422.tar.bz2
[Android] Avoid early fling termination if initial time is non-positive
Main thread animations provide no guarantees that the initial fling timestamp will be strictly positive. Consequently, a (valid) timestamp of 0 applied to Android's fling animation curve will yield a zero-sized scroll delta. Feeding this scroll delta through WebViewImpl reports that scrolling is impossible, in which case the fling will early terminate. Avoid this case by early returning on non-positive fling timestamps, aligning with Aura's fling behavior. BUG=371854 Review URL: https://codereview.chromium.org/275113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions