| Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| index 1a5df9e1694116fe3d7a8000063f7a83cc057b89..f5956be27377a5b84a7451218fcacb1c73e1d367 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -6510,8 +6510,7 @@ TEST_P(ParameterizedWebFrameTest, CancelSpellingRequestCrash) {
|
| WebSettings::EditingBehaviorWin);
|
|
|
| element->focus();
|
| - frame->frame()->editor().replaceSelectionWithText(
|
| - "A", false, false, InputEvent::InputType::InsertReplacementText);
|
| + frame->frame()->editor().replaceSelectionForSpellChecker("A");
|
| frame->frame()->spellChecker().cancelCheck();
|
| }
|
|
|
|
|