DescriptionRemove a frame of delay on main-thread FlingStart. [2nd land]
Main-thread flings were waiting for the first frame of animation to
populate the start timestamp, and only on the second frame would they
start animating. But the start timestamp is included in the FlingStart
event, so there's no need for this (perhaps it was written that way for
historical reasons when the event timestamp wasn't populated properly).
This problem was extremely noticeable in prototype of middle-click autoscroll
that issues a FlingStart on every MouseMove to change velocity, but
the fix should also benefit touchscreen and touchpad flings slightly.
BUG=727964
Review-Url: https://codereview.chromium.org/2908073008
Cr-Original-Commit-Position: refs/heads/master@{#475984}
Committed: https://chromium.googlesource.com/chromium/src/+/3562f1b7410b884e07bbd2fc75cfee7e96ed2a41
Review-Url: https://codereview.chromium.org/2908073008
Cr-Commit-Position: refs/heads/master@{#476558}
Committed: https://chromium.googlesource.com/chromium/src/+/8d929084e3659b06f6ba30f334541bdde21866a6
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix flake in pad-gesture-fling #Patch Set 3 : Fix pad-gesture-fling properlyy #
Messages
Total messages: 33 (20 generated)
|