Chromium Code Reviews| 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 8db85385837d2b5d012c1d13cbed6a7897e8960a..009f6297b5c91df24bfd47ffa3a3ca368e21b197 100644 |
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp |
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp |
| @@ -739,6 +739,7 @@ void Editor::respondToChangedContents(const VisibleSelection& endingSelection) { |
| } |
| spellChecker().updateMarkersForWordsAffectedByEditing(true); |
| + frame().setNeedsSpellChecking(); |
|
yosin_UTC9
2017/02/23 05:20:48
Can we make Editor owns both SpellChecker and Idle
Xiaocheng
2017/02/23 20:46:07
I have the feeling that editing-related classes sh
yosin_UTC9
2017/02/24 02:10:53
I feel it is strange that SpellChecker tells Local
|
| client().respondToChangedContents(); |
| } |
| @@ -1681,6 +1682,7 @@ void Editor::respondToChangedSelection( |
| const Position& oldSelectionStart, |
| FrameSelection::SetSelectionOptions options) { |
| spellChecker().respondToChangedSelection(oldSelectionStart, options); |
| + frame().setNeedsSpellChecking(); |
| client().respondToChangedSelection(&frame(), |
| frame() |
| .selection() |