Backed out changeset 333a899fb5e6 (bug 1198381)
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "MainThreadIdlePeriod.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
static MOZ_THREAD_LOCAL(bool) sTLSIsMainThread;
|
||||
@@ -101,11 +99,6 @@ nsThreadManager::Init()
|
||||
return rv;
|
||||
}
|
||||
|
||||
{
|
||||
nsCOMPtr<nsIIdlePeriod> idlePeriod = new MainThreadIdlePeriod();
|
||||
mMainThread->RegisterIdlePeriod(idlePeriod.forget());
|
||||
}
|
||||
|
||||
// We need to keep a pointer to the current thread, so we can satisfy
|
||||
// GetIsMainThread calls that occur post-Shutdown.
|
||||
mMainThread->GetPRThread(&mMainPRThread);
|
||||
|
||||
Reference in New Issue
Block a user