Fix a potential crash in TouchActionFilter
In the case when a GestureScrollBegin comes without a GestureTapDown, and that when the both |allowed_touch_action_| and |active_touch_action_| have no value, it could crash at line 139 which tries to access the value of |active_touch_action_|. This CL fixes that and adds unit testing. Bug: 904648 Change-Id: Id4bc2a79f8716ed43981a77278d82d3539fc9a5e Reviewed-on: https://chromium-review.googlesource.com/c/1495354Reviewed-by:Navid Zolghadr <nzolghadr@chromium.org> Commit-Queue: Xida Chen <xidachen@chromium.org> Cr-Commit-Position: refs/heads/master@{#636901}
Showing
Please register or sign in to comment