Fix a NULL-dereference Read Crash
Currently, trying to start selection autoscroll results in a crash if layout object does not exist or is deleted. This CL fixes this issue by adding a null check before trying to start autoscroll for selection. Bug: 1023249 Change-Id: I0bb81e865372077e2d34b95df4172c1283679201 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1912682Reviewed-by:Mason Freed <masonfreed@chromium.org> Commit-Queue: Sarthak Shah <sarsha@microsoft.com> Cr-Commit-Position: refs/heads/master@{#714742}
Showing
Please register or sign in to comment