Skip to content

Commit

Permalink
Backed out changeset 30e2b2eea845 (bug 1288618)
Browse files Browse the repository at this point in the history
  • Loading branch information
BavarianTomcat committed Sep 15, 2016
1 parent b3103bc commit 6155a37
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions xpcom/build/XPCOMInit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -692,9 +692,6 @@ NS_InitXPCOM2(nsIServiceManager** aResult,
NS_RUNTIMEABORT(jsInitFailureReason);
}
sInitializedJS = true;

// Init AbstractThread.
AbstractThread::InitStatics();

rv = nsComponentManagerImpl::gComponentManager->Init();
if (NS_FAILED(rv)) {
Expand All @@ -718,6 +715,9 @@ NS_InitXPCOM2(nsIServiceManager** aResult,
// Init SharedThreadPool (which needs the service manager).
SharedThreadPool::InitStatics();

// Init AbstractThread.
AbstractThread::InitStatics();

// Force layout to spin up so that nsContentUtils is available for cx stack
// munging.
nsCOMPtr<nsISupports> componentLoader =
Expand Down Expand Up @@ -801,8 +801,6 @@ NS_InitMinimalXPCOM()
return NS_ERROR_UNEXPECTED;
}

AbstractThread::InitStatics();

return NS_OK;
}

Expand Down

0 comments on commit 6155a37

Please sign in to comment.