Fix a crash when pinch is sent to root while targeting the iframe
When there is a pinch zoom gesture, it will always be sent to the root frame even if the fingers are targeting the child frame. In this case, the TouchActionFilter::allowed_touch_action_ of the root frame may not have a value and results in a crash. This CL fixes it by force the allowed_touch_action_ of the root frame to auto in this case. A new browser test is added. TBR=creis@chromium.org Bug: 851644 Change-Id: I1c9d87a1b5fecd7140fdc0ef3bfcfc4b0ea930ea Reviewed-on: https://chromium-review.googlesource.com/1178634 Commit-Queue: Xida Chen <xidachen@chromium.org> Reviewed-by:Timothy Dresser <tdresser@chromium.org> Cr-Commit-Position: refs/heads/master@{#584165}
Showing
Please register or sign in to comment