| 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 09180c0b33d185a5048041f167033598e7d71f3c..07957d17ac453ff6d265b1898d0630bec0ce37b1 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| @@ -845,7 +845,8 @@ void SpellChecker::replaceMisspelledRange(const String& text) {
|
| if (cancel)
|
| return;
|
| frame().editor().replaceSelectionWithText(
|
| - text, false, false, InputEvent::InputType::InsertReplacementText);
|
| + CommandSource::MenuOrKeyBinding, text, false, false,
|
| + InputEvent::InputType::InsertReplacementText);
|
| }
|
|
|
| static bool shouldCheckOldSelection(const Position& oldSelectionStart) {
|
|
|