| Index: Source/core/editing/CompositeEditCommand.cpp
|
| diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp
|
| index 987fcda5bbfa280308a03646a76e05a09c950fe6..cedd36ed83b5674d3c66e6a78235d877276fc269 100644
|
| --- a/Source/core/editing/CompositeEditCommand.cpp
|
| +++ b/Source/core/editing/CompositeEditCommand.cpp
|
| @@ -256,7 +256,7 @@ void CompositeEditCommand::applyCommandToComposite(PassRefPtrWillBeRawPtr<EditCo
|
| void CompositeEditCommand::applyCommandToComposite(PassRefPtrWillBeRawPtr<CompositeEditCommand> command, const VisibleSelection& selection)
|
| {
|
| command->setParent(this);
|
| - if (selection != command->endingSelection()) {
|
| + if (!VisibleSelection::InDOMTree::equalSelections(selection, command->endingSelection())) {
|
| command->setStartingSelection(selection);
|
| command->setEndingSelection(selection);
|
| }
|
|
|