Bug 1409664 - P7. Remove unused TaskQueue method. r=gerald

Summary:
Depends on D1619

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1620
This commit is contained in:
Jean-Yves Avenard 2018-06-07 14:26:11 +02:00
parent f44bc2efdb
commit 84177fa544
2 changed files with 0 additions and 8 deletions

View File

@ -194,13 +194,6 @@ TaskQueue::IsEmpty()
return mTasks.empty();
}
uint32_t
TaskQueue::ImpreciseLengthForHeuristics()
{
MonitorAutoLock mon(mQueueMonitor);
return mTasks.size();
}
bool
TaskQueue::IsCurrentThreadIn()
{

View File

@ -95,7 +95,6 @@ public:
void AwaitShutdownAndIdle();
bool IsEmpty();
uint32_t ImpreciseLengthForHeuristics();
// Returns true if the current thread is currently running a Runnable in
// the task queue.