| Index: Source/core/editing/SelectionController.cpp
|
| diff --git a/Source/core/editing/SelectionController.cpp b/Source/core/editing/SelectionController.cpp
|
| index ad5bd933f2a9c51d8fe9ffc7f37b38a2c3978eff..2d0d3aa6b3f61c14759ee28231790c4a91df444c 100644
|
| --- a/Source/core/editing/SelectionController.cpp
|
| +++ b/Source/core/editing/SelectionController.cpp
|
| @@ -66,7 +66,7 @@ DEFINE_TRACE(SelectionController)
|
|
|
| static void setSelectionIfNeeded(FrameSelection& selection, const VisibleSelection& newSelection)
|
| {
|
| - if (selection.selection() != newSelection)
|
| + if (!VisibleSelection::InDOMTree::equalSelections(selection.selection(), newSelection))
|
| selection.setSelection(newSelection);
|
| }
|
|
|
|
|