mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
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:
parent
f44bc2efdb
commit
84177fa544
@ -194,13 +194,6 @@ TaskQueue::IsEmpty()
|
||||
return mTasks.empty();
|
||||
}
|
||||
|
||||
uint32_t
|
||||
TaskQueue::ImpreciseLengthForHeuristics()
|
||||
{
|
||||
MonitorAutoLock mon(mQueueMonitor);
|
||||
return mTasks.size();
|
||||
}
|
||||
|
||||
bool
|
||||
TaskQueue::IsCurrentThreadIn()
|
||||
{
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user