mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
Bug 1103188 - Remove identical override nsDOMUserMediaStream::Stop(). r=jib
--HG-- extra : commitid : FxucwRqUZUo
This commit is contained in:
parent
cc2405535d
commit
6c449288a0
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user