DescriptionDCHECK instead of return at LayoutSelection::Commit()
We early return in some cases but they must not happen because
we use valid VisibleSelection which is not null.
// We can get into a state where the selection endpoints map to the same
// |VisiblePosition| when a selection is deleted because we don't yet
// the |FrameSelection| of text removal.
That's now not the case because we have SelectionController catching
text modification.
BUG=708453
Review-Url: https://codereview.chromium.org/2910373002
Cr-Commit-Position: refs/heads/master@{#475870}
Committed: https://chromium.googlesource.com/chromium/src/+/57149441c70f2e87c1dc4e02895125536cb84baf
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|