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 853ab22c8aed5f51e69dd8ae1c5d15021bddde67..83d89112ac525bbcf2a0527cd71bbd2811e5e0f6 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -6512,7 +6512,8 @@ TEST_P(ParameterizedWebFrameTest, CancelSpellingRequestCrash) { |
WebSettings::EditingBehaviorWin); |
element->focus(); |
- frame->frame()->editor().replaceSelectionForSpellChecker("A"); |
+ frame->frame()->editor().replaceSelectionWithText( |
+ "A", false, false, InputEvent::InputType::InsertReplacementText); |
frame->frame()->spellChecker().cancelCheck(); |
} |