b=957468 remove unused mNonRealtimeIsRunning r=ehsan

--HG--
extra : transplant_source : %F1%A1%5DT%21%AE%B0%AAh%1F%BB%06X%80F%9C%BBe%15U
This commit is contained in:
Karl Tomlinson 2014-01-28 18:14:22 +13:00
parent 271b7ece33
commit 4290acab7f
2 changed files with 0 additions and 16 deletions

View File

@ -1127,11 +1127,6 @@ MediaStreamGraphImpl::RunThread()
"Shouldn't have started a graph with empty message queue!");
uint32_t ticksProcessed = 0;
if (!mRealtime) {
NS_ASSERTION(!mNonRealtimeIsRunning,
"We should not be running in non-realtime mode already");
mNonRealtimeIsRunning = true;
}
for (;;) {
// Update mCurrentTime to the min of the playing audio times, or using the
@ -1291,9 +1286,6 @@ MediaStreamGraphImpl::RunThread()
}
}
if (!mRealtime) {
mNonRealtimeIsRunning = false;
}
profiler_unregister_thread();
}
@ -2411,7 +2403,6 @@ MediaStreamGraphImpl::MediaStreamGraphImpl(bool aRealtime)
, mNeedAnotherIteration(false)
, mForceShutDown(false)
, mPostedRunInStableStateEvent(false)
, mNonRealtimeIsRunning(false)
, mDetectedNotRunning(false)
, mPostedRunInStableState(false)
, mRealtime(aRealtime)

View File

@ -521,13 +521,6 @@ public:
* RunInStableState() and the event hasn't run yet.
*/
bool mPostedRunInStableStateEvent;
/**
* True when the non-realtime graph thread is processing, as a result of
* a request from the main thread. When processing is finished, we post
* a message to the main thread in order to set mNonRealtimeProcessing
* back to false.
*/
bool mNonRealtimeIsRunning;
// Main thread only