зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1103188 - Remove identical override nsDOMUserMediaStream::Stop(). r=jib
--HG-- extra : commitid : 3I8mAeBB3oL extra : rebase_source : 2e37a21b1789bf4ab893c6fb8b2dd2c75f613855
This commit is contained in:
Родитель
aa989a17b6
Коммит
ce2776ea0d
|
@ -522,7 +522,7 @@ public:
|
|||
|
||||
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
|
||||
virtual void Stop();
|
||||
void Stop();
|
||||
|
||||
virtual MediaEngineSource* GetMediaEngine(TrackID aTrackID) { return nullptr; }
|
||||
|
||||
|
|
|
@ -680,13 +680,6 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
virtual void Stop() override
|
||||
{
|
||||
if (GetSourceStream()) {
|
||||
GetSourceStream()->EndAllTrackAndFinish();
|
||||
}
|
||||
}
|
||||
|
||||
// For gUM streams, we have a trackunion which assigns TrackIDs. However, for a
|
||||
// single-source trackunion like we have here, the TrackUnion will assign trackids
|
||||
// that match the source's trackids, so we can avoid needing a mapping function.
|
||||
|
|
Загрузка…
Ссылка в новой задаче