Bug 1103188 - Remove identical override nsDOMUserMediaStream::Stop(). r=jib

--HG--
extra : commitid : FxucwRqUZUo
This commit is contained in:
Andreas Pehrson 2015-09-25 23:23:30 +08:00
parent cc2405535d
commit 6c449288a0
2 changed files with 1 additions and 8 deletions

View File

@ -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; }

View File

@ -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.