| 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 e26740a836c32da813eb5152f1c4237bccd5ca4b..496441838d9f5531352959049d2f37caf321c84c 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| @@ -910,10 +910,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();
|
| }
|
|
|
|
|