Chromium Code Reviews
DescriptionLet Range::expand not crash when Range's start node is not connected
to document.
In the condition, Range::expand calls create VisiblePosition and
DCHECK(node.isConnected()) failed.
This CL lets Range::expand not do nothing in the condition.
BUG=698123
Review-Url: https://codereview.chromium.org/2747113003
Cr-Commit-Position: refs/heads/master@{#457340}
Committed: https://chromium.googlesource.com/chromium/src/+/67a26dc6928cf5dac2f2f2242f24ddb5b60e216b
Patch Set 1 #
Messages
Total messages: 18 (10 generated)
|
||||||||||||||||||||||||||||