Bug 1151672 - Part 1: Remove the calls to nsThreadManager::SetThreadWorking() and nsThreadManager::SetThreadIdle() due to backout of bug 970307. r=seth

This commit is contained in:
Cervantes Yu 2015-05-19 11:26:21 +08:00
parent 2d5f0e39c0
commit ab7a49befc

View File

@ -237,10 +237,6 @@ public:
return work;
}
#ifdef MOZ_NUWA_PROCESS
nsThreadManager::get()->SetThreadIdle(nullptr);
#endif // MOZ_NUWA_PROCESS
// Nothing to do; block until some work is available.
mMonitor.Wait();
} while (true);
@ -256,10 +252,6 @@ private:
work.mDecoder = aQueue.ElementAt(0);
aQueue.RemoveElementAt(0);
#ifdef MOZ_NUWA_PROCESS
nsThreadManager::get()->SetThreadWorking();
#endif // MOZ_NUWA_PROCESS
return work;
}