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

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

Issue 2830213002: [DMC #1.911] Rename DocumentMarkerController::RemoveMarkers() to RemoveMarkersInRange() (Closed)
Patch Set: Remove dependency 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 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;
}

Powered by Google App Engine
This is Rietveld 408576698