[Home] Check motion events before processing them
If the user is scrolling on the bottom toolbar before the browser is ready and continues through the ready state, the gesture event filter starts processing the stream without a down event, causing a crash. This change adds null checks for the initial event in the gesture detector to defend against this. BUG=786889 Change-Id: I68a10c64653957f659e642f089a9037fddcbee5d Reviewed-on: https://chromium-review.googlesource.com/779866Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#518323}
Showing
Please register or sign in to comment