Index: third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h |
index eb7e7e9ccfecf707479fd8f83cc0b9802d2fbd08..ca4ae45f27b214b1bd72e2f1adf01ea3ae27bd8a 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h |
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h |
@@ -39,6 +39,12 @@ class CORE_EXPORT TextMatchMarkerListImpl final : public DocumentMarkerList { |
DISALLOW_COPY_AND_ASSIGN(TextMatchMarkerListImpl); |
}; |
+DEFINE_TYPE_CASTS(TextMatchMarkerListImpl, |
+ DocumentMarkerList, |
+ list, |
+ list->MarkerType() == DocumentMarker::kTextMatch, |
+ list.MarkerType() == DocumentMarker::kTextMatch); |
+ |
} // namespace blink |
#endif // TextMatchMarkerListImpl_h |