Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1095)

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2576903002: [EditCommandSource] Pass source from |Editor::Command| to |Editor::apply*()/insert*()/...| (2/3) (Closed)
Patch Set: Xiaocheng's review: Add TODOs and DCHECK comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698