| Index: third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| index 3635296fc86f3c0389fc2a47d5afeae507785099..228be4f8b341c7635764382d9c5d12719c11391a 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| @@ -421,7 +421,8 @@ bool InsertListCommand::DoApplyForSingleParagraph(
|
| if (range_start_is_in_list && new_list)
|
| current_selection.setStart(new_list, 0, IGNORE_EXCEPTION_FOR_TESTING);
|
| if (range_end_is_in_list && new_list) {
|
| - current_selection.setEnd(new_list, Position::LastOffsetInNode(new_list),
|
| + current_selection.setEnd(new_list,
|
| + Position::LastOffsetInNode(*new_list),
|
| IGNORE_EXCEPTION_FOR_TESTING);
|
| }
|
|
|
|
|