DescriptionDon't call moveParagraph() with null |VisiblePositon|
This patch changes |IndentOutdentCommand::outdentParagraph()| not to call
|CompositeEditCommand::movePargrap()| with null |VisiblePositon|.
This situation can be happened in attached test case, where
|visibleStartOfParagraph| and |visibleEndOfPargraph| are second TABLE element.
Both |startOfParagraph()| and |endOfParagraph()| return null |VisiblePositon|
for them.
BUG=379058
TEST=editing/execCommand/outdent-collapse-table-crash-2.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175258
Patch Set 1 : 2014-05-30T05:23:36 #
Messages
Total messages: 5 (0 generated)
|