| Summary: | SourceBufferPrivateClient::InitializationSegment should be using Ref<T> | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
``` struct AudioTrackInformation { RefPtr<MediaDescription> description; RefPtr<AudioTrackPrivate> track; }; Vector<AudioTrackInformation> audioTracks; struct VideoTrackInformation { RefPtr<MediaDescription> description; RefPtr<VideoTrackPrivate> track; }; Vector<VideoTrackInformation> videoTracks; struct TextTrackInformation { RefPtr<MediaDescription> description; RefPtr<InbandTextTrackPrivate> track; }; ``` They can never be null, I believe RefPtr was used as Ref<t> didn't exist at the time