| Index: third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| index 6e6fdf755335131d9c205a407bbb44fe666084e4..a1c3139ee58ae6b9a24069ee7d76f7f8dfffada0 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| @@ -151,7 +151,7 @@ void ApplyBlockElementCommand::FormatSelection(
|
| if (editing_state->IsAborted())
|
| return;
|
| SetEndingSelection(SelectionInDOMTree::Builder()
|
| - .Collapse(Position::BeforeNode(placeholder))
|
| + .Collapse(Position::BeforeNode(*placeholder))
|
| .SetIsDirectional(EndingSelection().IsDirectional())
|
| .Build());
|
| return;
|
|
|