Fix null-ptr crash in fallback cursor
This crash happens because the hit test returns a null node. In that case it's safe to just return without doing anything. Not sure how to set this case up in a test though. Bug: 982360 Change-Id: I20d32e2704543ee816ac17c31a51957b30366309 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1706355 Commit-Queue: David Bokan <bokan@chromium.org> Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Auto-Submit: David Bokan <bokan@chromium.org> Reviewed-by:Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/master@{#678296}
Showing
Please register or sign in to comment