Index: Source/core/html/track/TrackBase.h |
diff --git a/Source/core/html/track/TrackBase.h b/Source/core/html/track/TrackBase.h |
index cff2b8a65629d2fda6ebc844459645e93e79635d..060df6b4d8dcd328a6a9199fc17d5aef1cc2c605 100644 |
--- a/Source/core/html/track/TrackBase.h |
+++ b/Source/core/html/track/TrackBase.h |
@@ -78,6 +78,9 @@ private: |
RawPtrWillBeMember<HTMLMediaElement> m_mediaElement; |
}; |
+#define DEFINE_TRACK_TYPE_CASTS(thisType, predicate) \ |
+ DEFINE_TYPE_CASTS(thisType, TrackBase, track, track->type() == predicate, track.type() == predicate) |
+ |
} // namespace WebCore |
#endif // TrackBase_h |