From d52d34fca1aa3ddd8eebe06278fc13fec6a17730 Mon Sep 17 00:00:00 2001 From: "darin%meer.net" Date: Fri, 31 Mar 2006 00:59:02 +0000 Subject: [PATCH] restoring warning per bsmedberg git-svn-id: svn://10.0.0.236/trunk@193292 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/base/nsTraceRefcntImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpcom/base/nsTraceRefcntImpl.cpp b/mozilla/xpcom/base/nsTraceRefcntImpl.cpp index 4dd7b437e6e..98054138b7c 100644 --- a/mozilla/xpcom/base/nsTraceRefcntImpl.cpp +++ b/mozilla/xpcom/base/nsTraceRefcntImpl.cpp @@ -145,7 +145,7 @@ struct nsTraceRefcntStats { // I hope to turn this on for everybody once we hit it a little less. #define ASSERT_ACTIVITY_IS_LEGAL \ - NS_ASSERTION(gActivityTLS != BAD_TLS_INDEX && \ + NS_WARN_IF_FALSE(gActivityTLS != BAD_TLS_INDEX && \ NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0, \ "XPCOM objects created/destroyed from static ctor/dtor");