Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: Source/core/html/track/TrackEvent.h

Issue 690923004: TrackEvent.track should be (VideoTrack or AudioTrack or TextTrack)? (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698