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 001a775104d48a99b88039843d7f564231abf03f..b8a8f1422264577e148bd5c5c3f0265958cda2f2 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp |
@@ -108,7 +108,7 @@ void HotModeSpellCheckRequester::CheckSpellingAt(const Position& position) { |
const EphemeralRange& current_word = |
CurrentWordIfTypingInPartialWord(*root_editable); |
if (current_word.IsNotNull()) { |
- root_editable->GetDocument().Markers().RemoveMarkers( |
+ root_editable->GetDocument().Markers().RemoveMarkersInRange( |
current_word, DocumentMarker::MisspellingMarkers()); |
return; |
} |