DescriptionReturn 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}
Committed: https://chromium.googlesource.com/chromium/src/+/b1601a7ae547960927ebc20de9776dc0c2e779e3
Patch Set 1 #
Messages
Total messages: 17 (13 generated)
|