DescriptionDon't return null from ReplaceSelectionCommand::insertAsListItems()
When trying to replace list by list, we insert list item instead of list itself,
by calling insertAsListItems(). However, insertAsListItems() returns null when
it takes empty list.
This patch changes to ReplaceSelectionCommand::insertAsListItems() not to return null.
BUG=238170
TEST=LayoutTests/editing/execCommand/crash-replacing-list-by-list.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170821
Patch Set 1 #
Total comments: 2
Patch Set 2 : 2014-04-03T01:25:13 #
Messages
Total messages: 12 (0 generated)
|