Set touch action Auto in MaybeSendSyntheticTapGesture
The MaybeSendSyntheticTapGesture can be called in PreProcessMouseEvent, in which case the TouchActionFilter::allowed_touch_action_ has no value and will result in a crash. This CL set the allowed_touch_action_ to auto to fix the issue. A browser test is added. Bug: 873211 Change-Id: If776a93fe2c8f7a311a10bc0fec42cda15d0ae9a Reviewed-on: https://chromium-review.googlesource.com/1169585 Commit-Queue: Xida Chen <xidachen@chromium.org> Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Reviewed-by:
Timothy Dresser <tdresser@chromium.org> Cr-Commit-Position: refs/heads/master@{#583369}
Showing
Please register or sign in to comment