bug 257188 - check initialization of nsThread patch by CTho <cst@andrew.cmu.edu> r=dougt
git-svn-id: svn://10.0.0.236/trunk@161431 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
451628cd14
commit
dffbd3ccc3
@ -263,6 +263,7 @@ nsThread::Init(nsIRunnable* runnable,
|
||||
PRThreadScope scope,
|
||||
PRThreadState state)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(runnable);
|
||||
mRunnable = runnable;
|
||||
|
||||
NS_ADDREF_THIS(); // released in nsThread::Exit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user