| Index: Source/core/editing/InsertListCommand.cpp
|
| diff --git a/Source/core/editing/InsertListCommand.cpp b/Source/core/editing/InsertListCommand.cpp
|
| index f34712acdceb99fbab1e39a0679bf96e23b790a9..9a702580ad22e7e12cdf1bc43c399f54d70fcb84 100644
|
| --- a/Source/core/editing/InsertListCommand.cpp
|
| +++ b/Source/core/editing/InsertListCommand.cpp
|
| @@ -144,7 +144,7 @@ void InsertListCommand::doApply()
|
| // infinite loop and because there is no more work to be done.
|
| // FIXME(<rdar://problem/5983974>): The endingSelection() may be incorrect here. Compute
|
| // the new location of endOfSelection and use it as the end of the new selection.
|
| - if (!startOfLastParagraph.deepEquivalent().anchorNode()->inDocument())
|
| + if (!startOfLastParagraph.deepEquivalent().inDocument())
|
| return;
|
| setEndingSelection(startOfCurrentParagraph);
|
|
|
|
|