Dummy WebGestureEvent() sent to SendGestureScrollEvent() needs proper type.
At present, debug builds of Chrome can crash if your touch scrolling in a cross-site iframe with --site-per-process enabled, and then you tap in the parent frame. This happens when a 'dummy' WebGestureEvent is sent to RenderWidgetHostInputEventRouter::SendGestureScrollEvent() without defining its type. Since the function DCHECKs the type of the input event, this causes a crash. This CL makes sure the event has an appropriate type. BUG=645208 Review-Url: https://codereview.chromium.org/2323093002 Cr-Commit-Position: refs/heads/master@{#417566}
Showing
Please register or sign in to comment