| Index: Source/core/editing/InsertListCommand.cpp
|
| diff --git a/Source/core/editing/InsertListCommand.cpp b/Source/core/editing/InsertListCommand.cpp
|
| index 6de0c13ab2d15d5181f054b843e3213b97ec8f87..ea1a0aa087e743b9b3d19f525211ed473a6198ac 100644
|
| --- a/Source/core/editing/InsertListCommand.cpp
|
| +++ b/Source/core/editing/InsertListCommand.cpp
|
| @@ -139,7 +139,7 @@ void InsertListCommand::doApply()
|
| int indexForEndOfSelection = indexForVisiblePosition(endOfSelection, scope);
|
| bool forceCreateList = !selectionHasListOfType(selection, listTag);
|
|
|
| - RefPtr<Range> currentSelection = endingSelection().firstRange();
|
| + RefPtrWillBeRawPtr<Range> currentSelection = endingSelection().firstRange();
|
| VisiblePosition startOfCurrentParagraph = startOfSelection;
|
| while (!inSameParagraph(startOfCurrentParagraph, startOfLastParagraph, CanCrossEditingBoundary)) {
|
| // doApply() may operate on and remove the last paragraph of the selection from the document
|
|
|