From 0e8ea271fe7da77353aff8e4257ce3b9e7e55b0a Mon Sep 17 00:00:00 2001 From: Ben Turner Date: Thu, 24 Jul 2008 11:17:42 -0700 Subject: [PATCH] Bustage fix, bug 443874. --- xpcom/tests/TestThreadPoolListener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/tests/TestThreadPoolListener.cpp b/xpcom/tests/TestThreadPoolListener.cpp index 2730885cd87..0a8d69da60d 100644 --- a/xpcom/tests/TestThreadPoolListener.cpp +++ b/xpcom/tests/TestThreadPoolListener.cpp @@ -104,7 +104,7 @@ Listener::OnThreadCreated() NS_IMETHODIMP Listener::OnThreadShuttingDown() { - nsIThread* current = NS_GetCurrentThread(); + nsCOMPtr current(do_GetCurrentThread()); NS_ASSERTION(current, "Couldn't get current thread!"); nsAutoMonitor mon(gMonitor);