Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
index 0ac88eb9bf5a59746efda781a959eabc963d89f0..9e6e4827af35cf037395ee8de6e3897996f7d432 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
@@ -42,16 +42,6 @@ namespace blink { |
class Node; |
class RenderedDocumentMarker; |
-class Text; |
- |
-class MarkerRemoverPredicate final { |
- public: |
- explicit MarkerRemoverPredicate(const Vector<String>& words); |
- bool operator()(const DocumentMarker&, const Text&) const; |
- |
- private: |
- Vector<String> words_; |
-}; |
class CORE_EXPORT DocumentMarkerController final |
: public GarbageCollected<DocumentMarkerController>, |
@@ -82,7 +72,7 @@ class CORE_EXPORT DocumentMarkerController final |
void RemoveMarkersForNode( |
Node*, |
DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
- void RemoveMarkers(const MarkerRemoverPredicate& should_remove_marker); |
+ void RemoveSpellingMarkersUnderWords(const Vector<String>& words); |
void RepaintMarkers( |
DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
// Returns true if markers within a range are found. |