Index: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
index 626cb72b7aca4e268e89a3324fff73eabad0aeb0..6b5ab7f16044f1c8e84a1b261e6760e4536a7b87 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
@@ -763,9 +763,8 @@ void SpellChecker::UpdateMarkersForWordsAffectedByEditing( |
// as well. So we need to get the continous range of of marker that contains |
// the word in question, and remove marker on that whole range. |
const EphemeralRange word_range(remove_marker_start, remove_marker_end); |
- document->Markers().RemoveMarkers( |
- word_range, DocumentMarker::MisspellingMarkers(), |
- DocumentMarkerController::kRemovePartiallyOverlappingMarker); |
+ document->Markers().RemoveMarkers(word_range, |
+ DocumentMarker::MisspellingMarkers()); |
} |
void SpellChecker::DidEndEditingOnTextField(Element* e) { |