mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
Bug 1702362 - remove dead code in MediaTrackGraph. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D110488
This commit is contained in:
parent
ee9701f772
commit
11ede79305
@ -3080,11 +3080,6 @@ MediaTrackGraphImpl::MediaTrackGraphImpl(
|
||||
}
|
||||
}
|
||||
|
||||
AbstractThread* MediaTrackGraph::AbstractMainThread() {
|
||||
MOZ_ASSERT(static_cast<MediaTrackGraphImpl*>(this)->mAbstractMainThread);
|
||||
return static_cast<MediaTrackGraphImpl*>(this)->mAbstractMainThread;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
bool MediaTrackGraphImpl::InDriverIteration(const GraphDriver* aDriver) const {
|
||||
return aDriver->OnThread() ||
|
||||
|
@ -1047,10 +1047,6 @@ class MediaTrackGraph {
|
||||
static MediaTrackGraph* CreateNonRealtimeInstance(
|
||||
TrackRate aSampleRate, nsPIDOMWindowInner* aWindowId);
|
||||
|
||||
// Return the correct main thread for this graph. This always returns
|
||||
// something that is valid. Thread safe.
|
||||
AbstractThread* AbstractMainThread();
|
||||
|
||||
// Idempotent
|
||||
void ForceShutDown();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user