From 3823830445c9f76b8a157ec7f6027dcd0ba24d2b Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Tue, 4 Jan 2000 00:14:37 +0000 Subject: [PATCH] turn off assertions until dougt fixes #22943. r=dougt git-svn-id: svn://10.0.0.236/trunk@56699 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/threads/nsEventQueue.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mozilla/xpcom/threads/nsEventQueue.cpp b/mozilla/xpcom/threads/nsEventQueue.cpp index 13eee5ef6f7..9071235fa26 100644 --- a/mozilla/xpcom/threads/nsEventQueue.cpp +++ b/mozilla/xpcom/threads/nsEventQueue.cpp @@ -191,7 +191,10 @@ NS_IMETHODIMP nsEventQueueImpl::ProcessPendingEvents() { PRBool correctThread = PL_IsQueueOnCurrentThread(mEventQueue); + /* until dougt fixes #22943, turning this off of the mac */ +#ifndef XP_MAC NS_ASSERTION(correctThread, "attemping to process events on the wrong thread"); +#endif /* XP_MAC */ if (!correctThread) return NS_ERROR_FAILURE; @@ -204,7 +207,10 @@ NS_IMETHODIMP nsEventQueueImpl::EventLoop() { PRBool correctThread = PL_IsQueueOnCurrentThread(mEventQueue); + /* until dougt fixes #22943, turning this off of the mac */ +#ifndef XP_MAC NS_ASSERTION(correctThread, "attemping to process events on the wrong thread"); +#endif /* XP_MAC */ if (!correctThread) return NS_ERROR_FAILURE;