| Index: third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| index 7a9b7ce7311b01e5d837c9231c8904c04b823966..10ed27ccff82a6c9078ea8d701ff128a95c241ff 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| @@ -533,7 +533,7 @@ void TypingCommand::deleteKeyPressed(TextGranularity granularity, bool killRing,
|
| selectionModifier.modify(FrameSelection::AlterationExtend, DirectionBackward, granularity);
|
| // If the caret is just after a table, select the table and don't delete anything.
|
| } else if (Element* table = tableElementJustBefore(visibleStart)) {
|
| - setEndingSelection(VisibleSelection(positionBeforeNode(table), endingSelection().start(), TextAffinity::Downstream, endingSelection().isDirectional()));
|
| + setEndingSelection(VisibleSelection(Position::beforeNode(table), endingSelection().start(), TextAffinity::Downstream, endingSelection().isDirectional()));
|
| typingAddedToOpenCommand(DeleteKey);
|
| return;
|
| }
|
|
|