Backout taras's check-in for bug 398435 to help find Tp regression.

This commit is contained in:
2007-10-16 17:31:01 -07:00
parent d83cb65017
commit 96a3ab5691
13 changed files with 30 additions and 30 deletions

View File

@@ -193,7 +193,7 @@ NS_HasPendingEvents(nsIThread *thread)
#ifdef MOZILLA_INTERNAL_API
if (!thread) {
thread = NS_GetCurrentThread();
NS_ENSURE_TRUE(thread, PR_FALSE);
NS_ENSURE_STATE(thread);
}
#else
nsCOMPtr<nsIThread> current;
@@ -213,7 +213,7 @@ NS_ProcessNextEvent(nsIThread *thread, PRBool mayWait)
#ifdef MOZILLA_INTERNAL_API
if (!thread) {
thread = NS_GetCurrentThread();
NS_ENSURE_TRUE(thread, PR_FALSE);
NS_ENSURE_STATE(thread);
}
#else
nsCOMPtr<nsIThread> current;