Bug 380454, r=benjamin, sr=sicking

This commit is contained in:
Olli.Pettay@helsinki.fi 2008-02-19 05:15:37 -08:00
Родитель dc1dd6ad65
Коммит 922f5f425a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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));