Bug 1702362 - remove dead code in MediaTrackGraph. r=pehrsons

Differential Revision: https://phabricator.services.mozilla.com/D110488
This commit is contained in:
alwu 2021-04-01 16:54:04 +00:00
parent ee9701f772
commit 11ede79305
2 changed files with 0 additions and 9 deletions

View File

@ -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() ||

View File

@ -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();