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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp

Issue 2871823002: [DMC #5.7] Move DocumentMarkerList::RemoveMarkersUnderWords() to SpellCheckMarkerListImpl (Closed)
Patch Set: Rebase Created 3 years, 7 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/markers/DocumentMarkerController.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
index 3c5a0e5f7ec1f994b70543a058e06ae5a3c78450..3cab342b3b0c8b37f31852244d68f386d24f666d 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
@@ -504,7 +504,8 @@ void DocumentMarkerController::RemoveSpellingMarkersUnderWords(
DocumentMarkerList* const list = ListForType(markers, type);
if (!list)
continue;
- list->RemoveMarkersUnderWords(ToText(node).data(), words);
+ ToSpellCheckMarkerListImpl(list)->RemoveMarkersUnderWords(
+ ToText(node).data(), words);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698