DescriptionBefore this patch, replacing selection in heading/paragraph with heading/paragraph gets assertion at InsertNodeBeforeCommand constructor, or crash when assertion disabled. It tries to move replaced heading/paragraph out of ancestor, ReplaceSelectionCommand::moveNodeOutOfAncestor().
This patch changes ReplaceSelectionCommand::moveNodeOutOfAncestor() to avoid the assertion.
BUG=246991
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153031
Patch Set 1 : 2013-06-06T17:16:29 #
Total comments: 2
Patch Set 2 : 2013-06-11T17:06 #
Messages
Total messages: 8 (0 generated)
|