Bug 380454, r=benjamin, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@245969 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d5c46033b4
commit
3731f760c2
@ -136,7 +136,7 @@ NS_DispatchToCurrentThread(nsIRunnable *event)
|
||||
{
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
nsIThread *thread = NS_GetCurrentThread();
|
||||
NS_ENSURE_STATE(thread);
|
||||
if (!thread) { return NS_ERROR_UNEXPECTED; }
|
||||
#else
|
||||
nsCOMPtr<nsIThread> thread;
|
||||
nsresult rv = NS_GetCurrentThread(getter_AddRefs(thread));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user