Fix null-dereference read in GetSelectionStart|Endpoint
In GetSelectionStart|Endpoint, the rect local to the layoutObject at the selection start or end might be empty. The CL add checks for that. Bug: 1018679 Change-Id: I203ca1c6683e984699691f5d99a4f3bc3353f5b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1880362Reviewed-by:Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Jinsong Fan <fanjinsong@sogou-inc.com> Cr-Commit-Position: refs/heads/master@{#709884}
Showing
Please register or sign in to comment