| Index: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| index 56fb4484fd2d59fee560c5a3b2bdab77ad3a53fd..ca4bc682d67edd91abe1096f190c2db2f79abd23 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| @@ -854,8 +854,7 @@ void SpellChecker::replaceMisspelledRange(const String& text) {
|
|
|
| if (cancel)
|
| return;
|
| - frame().editor().replaceSelectionWithText(
|
| - text, false, false, InputEvent::InputType::InsertReplacementText);
|
| + frame().editor().replaceSelectionForSpellChecker(text);
|
| }
|
|
|
| static bool shouldCheckOldSelection(const Position& oldSelectionStart) {
|
|
|