| 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 ebbb4448045ba7e261463ccc4d95b5974397afbc..602aaeb898cc2d06729abd6edb0da83cab412543 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| @@ -1417,8 +1417,10 @@ void CompositeEditCommand::moveParagraphWithClones(
|
| DCHECK(outerNode);
|
| DCHECK(blockElement);
|
|
|
| - VisiblePosition beforeParagraph = previousPositionOf(startOfParagraphToMove);
|
| - VisiblePosition afterParagraph = nextPositionOf(endOfParagraphToMove);
|
| + VisiblePosition beforeParagraph =
|
| + previousPositionOf(startOfParagraphToMove, CannotCrossEditingBoundary);
|
| + VisiblePosition afterParagraph =
|
| + nextPositionOf(endOfParagraphToMove, CannotCrossEditingBoundary);
|
|
|
| // 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
|
|
|