DescriptionReplace ASSERT by null-check in InsertedNodes::lastLeafInserted()
Replace ASSERT by null-check in InsertedNodes::lastLeafInserted() as
m_lastNodeInserted can be null when this method is called. This ASSERT was
added in r161096 and we started hitting it in ClusterFuzz. This is also
consistent with InsertedNodes::pastLastLeaf() which already had a null
check.
R=adamk
BUG=338982
TEST=editing/execCommand/replaceSelectorCommand-crash.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166065
Patch Set 1 #Patch Set 2 : Add layout test #
Messages
Total messages: 7 (0 generated)
|