Index: Source/core/html/track/TrackEvent.h |
diff --git a/Source/core/html/track/TrackEvent.h b/Source/core/html/track/TrackEvent.h |
index 84d39f9c62e86e861bdef8e98f48e00014fea3e7..ff59d7812ebceec3d6d5ff39550f5af0aba1299a 100644 |
--- a/Source/core/html/track/TrackEvent.h |
+++ b/Source/core/html/track/TrackEvent.h |
@@ -31,6 +31,8 @@ |
namespace blink { |
+class VideoTrackOrAudioTrackOrTextTrack; |
+ |
struct TrackEventInit : public EventInit { |
TrackEventInit(); |
@@ -54,7 +56,7 @@ public: |
virtual const AtomicString& interfaceName() const override; |
- TrackBase* track() const { return m_track.get(); } |
+ void track(VideoTrackOrAudioTrackOrTextTrack&); |
virtual void trace(Visitor*) override; |