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

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

Issue 2806683002: Don't ever split DocumentMarkers on remove (Closed)
Patch Set: Rebase (no manual changes) 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 1c01125e612b3f9ba04ecc148e5c10ac71231160..001a775104d48a99b88039843d7f564231abf03f 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp
+++ b/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp
@@ -109,8 +109,7 @@ void HotModeSpellCheckRequester::CheckSpellingAt(const Position& position) {
CurrentWordIfTypingInPartialWord(*root_editable);
if (current_word.IsNotNull()) {
root_editable->GetDocument().Markers().RemoveMarkers(
- current_word, DocumentMarker::MisspellingMarkers(),
- DocumentMarkerController::kRemovePartiallyOverlappingMarker);
+ current_word, DocumentMarker::MisspellingMarkers());
return;
}

Powered by Google App Engine
This is Rietveld 408576698