| Index: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| index dd422c7a00ed50d29be7fdb2ea0d494b67ab01dd..a52f01943dea54a44ce6cfc625b1cdaa6007a4ff 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| @@ -1315,8 +1315,8 @@ void CompositeEditCommand::moveParagraphs(const VisiblePosition& startOfParagrap
|
| }
|
| }
|
|
|
| - RelocatablePosition beforeParagraphPosition(previousPositionOf(startOfParagraphToMove, CannotCrossEditingBoundary).deepEquivalent());
|
| - RelocatablePosition afterParagraphPosition(nextPositionOf(endOfParagraphToMove, CannotCrossEditingBoundary).deepEquivalent());
|
| + RelocatablePosition beforeParagraphPosition(previousPositionOfDeprecated(startOfParagraphToMove, CannotCrossEditingBoundary).deepEquivalent());
|
| + RelocatablePosition afterParagraphPosition(nextPositionOfDeprecated(endOfParagraphToMove, CannotCrossEditingBoundary).deepEquivalent());
|
|
|
| // We upstream() the end and downstream() the start so that we don't include collapsed whitespace in the move.
|
| // When we paste a fragment, spaces after the end and before the start are treated as though they were rendered.
|
|
|