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

Unified Diff: third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp

Issue 2806683002: Don't ever split DocumentMarkers on remove (Closed)
Patch Set: Leave partial markers in place for non-splitting case, preserve endpoints for splitting case Created 3 years, 8 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/spellcheck/HotModeSpellCheckRequester.cpp
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp b/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp
index 200ddca112b3bfff9e7191ec26d80629c307e6c0..79fd0e77e370493d068781e48a02fcf48eb66956 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp
+++ b/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp
@@ -108,8 +108,7 @@ void HotModeSpellCheckRequester::checkSpellingAt(const Position& position) {
currentWordIfTypingInPartialWord(*rootEditable);
if (currentWord.isNotNull()) {
rootEditable->document().markers().removeMarkers(
- currentWord, DocumentMarker::MisspellingMarkers(),
- DocumentMarkerController::RemovePartiallyOverlappingMarker);
+ currentWord, DocumentMarker::MisspellingMarkers());
return;
}

Powered by Google App Engine
This is Rietveld 408576698