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

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

Issue 2701983002: Implement complete lifecycle transition for IdleSpellCheckCallback (Closed)
Patch Set: Fix compile error Created 3 years, 10 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 147b10fa09c203c7d4978f25893ff29ef469de4d..8ea3cd07952785541822fe597a5e31b604275cb9 100644
--- a/third_party/WebKit/Source/core/editing/Editor.cpp
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp
@@ -741,7 +741,7 @@ void Editor::respondToChangedContents(const VisibleSelection& endingSelection) {
cache->handleEditableTextContentChanged(node);
}
- spellChecker().updateMarkersForWordsAffectedByEditing(true);
+ spellChecker().respondToChangedContents(endingSelection);
yosin_UTC9 2017/02/25 02:22:56 We may want to rename |respondToChangedContents()|
client().respondToChangedContents();
}

Powered by Google App Engine
This is Rietveld 408576698