mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1130142, part 2 - Don't explicitly coerce pointer to bool in nsTraceRefCnt. r=froydnj
This commit is contained in:
parent
c2f8541239
commit
92b82f1a88
@ -131,8 +131,7 @@ static const char kStaticCtorDtorWarning[] =
|
||||
static void
|
||||
AssertActivityIsLegal()
|
||||
{
|
||||
if (gActivityTLS == BAD_TLS_INDEX ||
|
||||
NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) != 0) {
|
||||
if (gActivityTLS == BAD_TLS_INDEX || PR_GetThreadPrivate(gActivityTLS)) {
|
||||
if (PR_GetEnv("MOZ_FATAL_STATIC_XPCOM_CTORS_DTORS")) {
|
||||
NS_RUNTIMEABORT(kStaticCtorDtorWarning);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user