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

Unified Diff: third_party/WebKit/Source/core/editing/Editor.cpp

Issue 2370663002: Remove logic to reset input method more than needed (Closed)
Patch Set: fix test, fix IMC Created 3 years, 11 months 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/core/editing/Editor.cpp
diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
index 0efff2a54a1b41f26e0e83ac85c13e7b3ae68500..4bd32f0cfe74032b8aaf5182163a70c655a1c08c 100644
--- a/third_party/WebKit/Source/core/editing/Editor.cpp
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp
@@ -1627,7 +1627,6 @@ void Editor::respondToChangedSelection(
const Position& oldSelectionStart,
FrameSelection::SetSelectionOptions options) {
spellChecker().respondToChangedSelection(oldSelectionStart, options);
- frame().inputMethodController().cancelCompositionIfSelectionIsInvalid();
client().respondToChangedSelection(&frame(),
frame().selection().getSelectionType());
setStartNewKillRingSequence(true);

Powered by Google App Engine
This is Rietveld 408576698