Filter GestureFlingStarts with Vx=Vy=0 in RenderWidgetHostViewChildFrame
This CL fixes both (1) the renderer crash originally fixed by https://codereview.chromium.org/2165043002, and (2) reverts the part of that CL which prevents ChromeOS from having zero-velocity GestureFlingStarts, which caused a regression in two-finger swipe navigation for touchpad. It also moves the DCHECK from the original CL to a new location which would have prevented the renderer crashes from being introduced in the first place. This CL doesn't include a test, though the test proposed by khmel@ in https://codereview.chromium.org/2168693003 presumably will land shortly after this CL. BUG=627227 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2173603002 Cr-Commit-Position: refs/heads/master@{#407275}
Showing
Please register or sign in to comment