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 48638a5fe3c33075ba0cc7b739d683fd377e2929..fcd83d137d50937eeae69f42828d3ef87f7a53a4 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
@@ -752,9 +752,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 wordRange(removeMarkerStart, removeMarkerEnd); |
- document->markers().removeMarkers( |
- wordRange, DocumentMarker::MisspellingMarkers(), |
- DocumentMarkerController::RemovePartiallyOverlappingMarker); |
+ document->markers().removeMarkers(wordRange, |
+ DocumentMarker::MisspellingMarkers()); |
} |
void SpellChecker::didEndEditingOnTextField(Element* e) { |