Mark gesture starts on GestureTapDown
Right now in TouchActionFilter, the member gesture_sequence_in_progress_ turns to true at GestureScrollBegin and false at GestureScrollEnd. When this is true, we do not reset the |scrolling_touch_action_| because being true means there are more incoming gesture events. However, when the renderer is busy, it could happen that we have GestureTapDown, and then we receive the OnHasTouchEventHandlers(true) message and reset the |scrolling_touch_action_|. In this case, processing the incoming gestures such as GSB can cause a crash because the |scrolling_touch_action_| has no value. Bug: 851644 Change-Id: Idd9de11fc59ef87d7fa8f2d9e3d951fb4db5c2c5 Reviewed-on: https://chromium-review.googlesource.com/1180560Reviewed-by:Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Xida Chen <xidachen@chromium.org> Cr-Commit-Position: refs/heads/master@{#585072}
Showing
Please register or sign in to comment