| Index: Source/core/editing/ApplyBlockElementCommand.cpp
|
| diff --git a/Source/core/editing/ApplyBlockElementCommand.cpp b/Source/core/editing/ApplyBlockElementCommand.cpp
|
| index 8de6c1669cedc8dc0f0af50c099a9a33472240cd..b622fc93b5072942a287b9e8ed0cde9fd279173d 100644
|
| --- a/Source/core/editing/ApplyBlockElementCommand.cpp
|
| +++ b/Source/core/editing/ApplyBlockElementCommand.cpp
|
| @@ -111,7 +111,7 @@ void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSel
|
| insertNodeAt(blockquote, start);
|
| RefPtr<Element> placeholder = createBreakElement(document());
|
| appendNode(placeholder, blockquote);
|
| - setEndingSelection(VisibleSelection(positionBeforeNode(placeholder.get()), DOWNSTREAM, endingSelection().isDirectional()));
|
| + setEndingSelection(VisibleSelection(positionBeforeNode(*placeholder), DOWNSTREAM, endingSelection().isDirectional()));
|
| return;
|
| }
|
|
|
|
|