| 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 4d8630f5f7f29783687248a4f9de637f1c08b5ca..80f43f98c60cb7122a52eb04583431bae7fe168c 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| @@ -137,7 +137,7 @@ void InsertLineBreakCommand::DoApply(EditingState* editing_state) {
|
| GetDocument().UpdateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| // Insert an extra br or '\n' if the just inserted one collapsed.
|
| - if (!IsStartOfParagraph(VisiblePosition::BeforeNode(node_to_insert))) {
|
| + if (!IsStartOfParagraph(VisiblePosition::BeforeNode(*node_to_insert))) {
|
| InsertNodeBefore(node_to_insert->cloneNode(false), node_to_insert,
|
| editing_state);
|
| if (editing_state->IsAborted())
|
|
|