| Index: Source/core/editing/SpellingCorrectionCommand.cpp
|
| diff --git a/Source/core/editing/SpellingCorrectionCommand.cpp b/Source/core/editing/SpellingCorrectionCommand.cpp
|
| index e89b81af44bbfe2954dfd9a38d1533ad724a098a..3c094f3718c9aa1e9aac9b0742f16cb3118ef1a0 100644
|
| --- a/Source/core/editing/SpellingCorrectionCommand.cpp
|
| +++ b/Source/core/editing/SpellingCorrectionCommand.cpp
|
| @@ -48,9 +48,6 @@ void SpellingCorrectionCommand::doApply()
|
| if (!m_corrected.length())
|
| return;
|
|
|
| - if (!document().frame()->selection().shouldChangeSelection(m_selectionToBeCorrected))
|
| - return;
|
| -
|
| applyCommandToComposite(SetSelectionCommand::create(m_selectionToBeCorrected, FrameSelection::SpellCorrectionTriggered | FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle));
|
| applyCommandToComposite(InsertTextCommand::create(document(), m_correction));
|
| }
|
|
|