| 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 9858b900b618eebce8e54217f3ba1a1d552e3ee8..3e4cefd17cb715da898008235064876f6dbe35ac 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| @@ -983,10 +983,8 @@ void SpellChecker::removeSpellingMarkers() {
|
|
|
| void SpellChecker::removeSpellingMarkersUnderWords(
|
| const Vector<String>& words) {
|
| - MarkerRemoverPredicate removerPredicate(words);
|
| -
|
| DocumentMarkerController& markerController = frame().document()->markers();
|
| - markerController.removeMarkers(removerPredicate);
|
| + markerController.removeSpellingMarkersForWords(words);
|
| markerController.repaintMarkers();
|
| }
|
|
|
|
|