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

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

Issue 2424383002: Make SpellChecker::respondToChangedSelection() to take Position instead of VisibleSelection (Closed)
Patch Set: 2016-10-19T12:54:03 Created 4 years, 2 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 2779b19c41197a3ad046474c6eeeb2174742bb07..e3fbaca9d77dbec76d4bd8a5ed1c37e7b86a27c3 100644
--- a/third_party/WebKit/Source/core/editing/Editor.cpp
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp
@@ -1574,9 +1574,9 @@ void Editor::setMarkedTextMatchesAreHighlighted(bool flag) {
}
void Editor::respondToChangedSelection(
- const VisibleSelection& oldSelection,
+ const Position& oldSelectionStart,
FrameSelection::SetSelectionOptions options) {
- spellChecker().respondToChangedSelection(oldSelection, options);
+ spellChecker().respondToChangedSelection(oldSelectionStart, options);
frame().inputMethodController().cancelCompositionIfSelectionIsInvalid();
client().respondToChangedSelection(&frame(),
frame().selection().getSelectionType());
« no previous file with comments | « third_party/WebKit/Source/core/editing/Editor.h ('k') | third_party/WebKit/Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698