DescriptionFixing crash in doApplyForSingleParagraph().
enclosingListChild() method can return 0 but no null check is implemented
at its calling location.
Adding a null check for the same.
Note that the corresponding bug mentions r163661 as being the cause for
this crash. However the crash persists even after reverting r163661.
BUG=345373
Test=editing/execCommand/crash-inserting-list.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167991
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressing review comments #
Total comments: 8
Patch Set 3 : Addressing review comments #
Messages
Total messages: 17 (0 generated)
|