mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-09 01:48:55 +00:00
Stop manually passing TaskDispatchers everywhere
This commit is contained in:
@@ -80,14 +80,4 @@ AbstractThread::InitStatics()
|
||||
sCurrentThreadTLS.set(sMainThread);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
void
|
||||
TaskDispatcher::AssertIsTailDispatcherIfRequired()
|
||||
{
|
||||
AbstractThread* current = AbstractThread::GetCurrent();
|
||||
MOZ_ASSERT_IF(current && current->RequiresTailDispatch(),
|
||||
this == ¤t->TailDispatcher());
|
||||
}
|
||||
#endif
|
||||
|
||||
} // namespace mozilla
|
||||
|
||||
Reference in New Issue
Block a user