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 06ca1fd2b07349e9d84343416ad38141d9621705..6594a144f056af5d590a5cfbbc1851f66de1eea2 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>, |
@@ -90,7 +80,7 @@ class CORE_EXPORT DocumentMarkerController final |
void RemoveMarkers( |
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. |