| Index: Source/core/editing/InsertListCommand.cpp
|
| diff --git a/Source/core/editing/InsertListCommand.cpp b/Source/core/editing/InsertListCommand.cpp
|
| index 3fd3bf9816959ae996c18d07cb6ad80101b21a18..3645f77cc8d7eedcc4f0f08d89348cc1501f2853 100644
|
| --- a/Source/core/editing/InsertListCommand.cpp
|
| +++ b/Source/core/editing/InsertListCommand.cpp
|
| @@ -234,9 +234,9 @@ void InsertListCommand::doApplyForSingleParagraph(bool forceCreateList, const Qu
|
| // Restore the start and the end of current selection if they started inside listNode
|
| // because moveParagraphWithClones could have removed them.
|
| if (rangeStartIsInList && newList)
|
| - currentSelection->setStart(newList, 0, IGNORE_EXCEPTION_STATE);
|
| + currentSelection->setStart(newList, 0, IGNORE_EXCEPTION);
|
| if (rangeEndIsInList && newList)
|
| - currentSelection->setEnd(newList, lastOffsetInNode(newList.get()), IGNORE_EXCEPTION_STATE);
|
| + currentSelection->setEnd(newList, lastOffsetInNode(newList.get()), IGNORE_EXCEPTION);
|
|
|
| setEndingSelection(VisiblePosition(firstPositionInNode(newList.get())));
|
|
|
|
|