| 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 bca08c29a4491a97c0e211b648a6013629bbbb4f..3e5e433e9dfc594057aee81a6e4b475e4b4ce0c4 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -1755,6 +1755,7 @@ void Editor::RespondToChangedSelection(
|
| const Position& old_selection_start,
|
| FrameSelection::SetSelectionOptions options) {
|
| GetSpellChecker().RespondToChangedSelection(old_selection_start, options);
|
| + GetFrame().GetInputMethodController().CancelCompositionIfSelectionIsInvalid();
|
| Client().RespondToChangedSelection(&GetFrame(),
|
| GetFrame()
|
| .Selection()
|
|
|