Bug 997286: bustage fix on a CLOSED TREE rs=dholbert
authorRandell Jesup <rjesup@jesup.org>
Thu, 17 Apr 2014 15:32:34 -0400
changeset 179487 12d543cfa1677371da8753fd847c5cc5d07433b3
parent 179486 2c59614ef6d351e08a9483685ccdcf67f139f95b
child 179488 656d5a4f110ea7c58c2aa4bcbeec10d91615e9f2
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewersdholbert
bugs997286
milestone31.0a1
Bug 997286: bustage fix on a CLOSED TREE rs=dholbert
xpcom/tests/TestThreadUtils.cpp
--- a/xpcom/tests/TestThreadUtils.cpp
+++ b/xpcom/tests/TestThreadUtils.cpp
@@ -32,17 +32,17 @@ class nsFoo : public nsISupports {
     return NS_OK;
   }
   virtual ~nsFoo() {}
 };
 
 NS_IMPL_ISUPPORTS0(nsFoo)
 
 class TestSuicide : public nsRunnable {
-  nsresult Run() {
+  NS_IMETHOD Run() {
     // Runs first time on thread "Suicide", then dies on MainThread
     if (!NS_IsMainThread()) {
       mThread = do_GetCurrentThread();
       NS_DispatchToMainThread(this);
       return NS_OK;
     }
     MOZ_ASSERT(mThread);
     mThread->Shutdown();