fix for 18078. r=mstoltz,warren

git-svn-id: svn://10.0.0.236/trunk@54648 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
1999-11-30 00:32:43 +00:00
parent 1eeb92635a
commit 0c53e29d87
56 changed files with 95 additions and 104 deletions

View File

@@ -960,7 +960,7 @@ nsWebShell::Init(nsNativeWidget aNativeParent,
NS_WITH_SERVICE(nsIEventQueueService, eventService, kEventQueueServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
rv = eventService->GetThreadEventQueue(PR_GetCurrentThread(), &mThreadEventQueue);
rv = eventService->GetThreadEventQueue(NS_CURRENT_THREAD, &mThreadEventQueue);
if (NS_FAILED(rv)) return rv;
//XXX make sure plugins have started up. this really needs to