| Index: third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| index dac26764d040d25031cc2ce7727691b9c24502fd..120615cafa18b98a4817c7063507209ff2a17e61 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| @@ -1773,7 +1773,7 @@ VisibleSelection selectionForParagraphIteration(
|
| // (a table is itself a paragraph).
|
| if (Element* table = tableElementJustBefore(endOfSelection)) {
|
| if (startOfSelection.deepEquivalent().anchorNode()->isDescendantOf(table))
|
| - newSelection = createVisibleSelectionDeprecated(
|
| + newSelection = createVisibleSelection(
|
| startOfSelection,
|
| previousPositionOf(endOfSelection, CannotCrossEditingBoundary));
|
| }
|
| @@ -1784,7 +1784,7 @@ VisibleSelection selectionForParagraphIteration(
|
| // containing the table itself.
|
| if (Element* table = tableElementJustAfter(startOfSelection)) {
|
| if (endOfSelection.deepEquivalent().anchorNode()->isDescendantOf(table))
|
| - newSelection = createVisibleSelectionDeprecated(
|
| + newSelection = createVisibleSelection(
|
| nextPositionOf(startOfSelection, CannotCrossEditingBoundary),
|
| endOfSelection);
|
| }
|
|
|