fix DCHECK in touch drag drop on Windows.
This moves the clearing of the gesture state to before the ole32 drag drop. Otherwise, the ole32 drag drop nested event loop can trigger two kGestureScrollBegin events in a row, causing a DCHECK. Long term, per mustaq@, when the drag-drop controller takes over control from the gesture recognizer at gesture-long-press, the GR should be ignoring the "current gesture stream" (from the very first finger going down until the very last finger leaving the screen). Bug: 1120809 Change-Id: I792471a2212647282b84d7745c5e7f861b15a28d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2378851 Commit-Queue: David Bienvenu <davidbienvenu@chromium.org> Reviewed-by:Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#802402}
Showing
Please register or sign in to comment