Chromium Code Reviews| Index: third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
| diff --git a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
| index 7a9c48e5dc5b44be4ff5243ea253430aea36f36f..7cb0b53545e866f197a4dcbe8312615db5eb1c9f 100644 |
| --- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
| +++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
| @@ -1060,8 +1060,10 @@ void DeleteSelectionCommand::DoApply(EditingState* editing_state) { |
| selection_to_delete_ = EndingSelection(); |
| if (!selection_to_delete_.IsNonOrphanedRange() || |
| - !selection_to_delete_.IsContentEditable()) |
| + !selection_to_delete_.IsContentEditable()) { |
| + // editing/execCommand/delete-non-editable-range-crash.html reaches here. |
|
Xiaocheng
2017/04/15 04:37:32
I manually checked that the converted test does re
|
| return; |
| + } |
| RelocatablePosition relocatable_reference_position(reference_move_position_); |