зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1208371 - Track original track in MediaStreamTrack clones. r=jib
MozReview-Commit-ID: HycPCeI2v3U --HG-- extra : rebase_source : 304bd198259c6e793d6bba9b02221e684ab16c5c
This commit is contained in:
Родитель
bc5d78268a
Коммит
4f3a6bae57
|
@ -47,7 +47,7 @@ MediaStreamTrack::~MediaStreamTrack()
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_INHERITED(MediaStreamTrack, DOMEventTargetHelper,
|
NS_IMPL_CYCLE_COLLECTION_INHERITED(MediaStreamTrack, DOMEventTargetHelper,
|
||||||
mOwningStream)
|
mOwningStream, mOriginalTrack)
|
||||||
|
|
||||||
NS_IMPL_ADDREF_INHERITED(MediaStreamTrack, DOMEventTargetHelper)
|
NS_IMPL_ADDREF_INHERITED(MediaStreamTrack, DOMEventTargetHelper)
|
||||||
NS_IMPL_RELEASE_INHERITED(MediaStreamTrack, DOMEventTargetHelper)
|
NS_IMPL_RELEASE_INHERITED(MediaStreamTrack, DOMEventTargetHelper)
|
||||||
|
|
|
@ -74,6 +74,7 @@ protected:
|
||||||
|
|
||||||
RefPtr<DOMMediaStream> mOwningStream;
|
RefPtr<DOMMediaStream> mOwningStream;
|
||||||
TrackID mTrackID;
|
TrackID mTrackID;
|
||||||
|
RefPtr<MediaStreamTrack> mOriginalTrack;
|
||||||
nsString mID;
|
nsString mID;
|
||||||
nsString mLabel;
|
nsString mLabel;
|
||||||
bool mEnded;
|
bool mEnded;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче