| Index: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| index 8f2fb52bf0fd11af80d6d974f40bde7d5c1c0429..f7b379316e968c001b30470d3f337ff63778af60 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| @@ -1523,7 +1523,7 @@ void ReplaceSelectionCommand::DoApply(EditingState* editing_state) {
|
| }
|
| SetEndingSelection(SelectionInDOMTree::Builder()
|
| .Collapse(Position::AfterNode(
|
| - inserted_nodes.LastLeafInserted()))
|
| + *inserted_nodes.LastLeafInserted()))
|
| .Build());
|
| // Select up to the paragraph separator that was added.
|
| last_position_to_select =
|
|
|