| Index: third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| index 20beb80707b90a2084f6e93713f45706de2e4c8e..7ab8a9f6e77c52a1803b06db0deea12f082ba0b0 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| @@ -127,7 +127,7 @@ void InsertLineBreakCommand::DoApply(EditingState* editing_state) {
|
| }
|
|
|
| SetEndingSelection(SelectionInDOMTree::Builder()
|
| - .Collapse(Position::BeforeNode(node_to_insert))
|
| + .Collapse(Position::BeforeNode(*node_to_insert))
|
| .SetIsDirectional(EndingSelection().IsDirectional())
|
| .Build());
|
| } else if (pos.ComputeEditingOffset() <= CaretMinOffset(pos.AnchorNode())) {
|
|
|