commit | b1601a7ae547960927ebc20de9776dc0c2e779e3 | [log] [tgz] |
---|---|---|
author | yoichio <yoichio@chromium.org> | Mon Jul 10 04:44:42 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 10 04:44:42 2017 |
tree | 7ef81159b5f8b311968bcba943d6500364f5a91c | |
parent | 8a22a574d88c8a87f4854b8306dff5d4d776f94a [diff] |
Return null SelectionPaintRange if no LayoutObject. There is a case that CreateVisiblePosition returns {start, null} range in LayoutSelection::CalcSelection. VisibleSelection and EphemeralRange constructors prohibit such case but it is by DCHECK so we need cover on Release build failure. BUG=739996 Review-Url: https://codereview.chromium.org/2968363002 Cr-Commit-Position: refs/heads/master@{#485184}