fixed uninitialized variable in ProxyEvent::Fire()

git-svn-id: svn://10.0.0.236/trunk@24002 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pierre%netscape.com
1999-03-12 23:27:46 +00:00
parent 50f0663eee
commit b73810df3b

View File

@@ -409,27 +409,14 @@ void PR_CALLBACK ProxyEvent::DestroyPLEvent(PLEvent* aEvent)
delete ev;
}
/*
#if defined(XP_UNIX)
extern PLEventQueue* gWebShell_UnixEventQueue;
#endif
*/
void ProxyEvent::Fire(PLEventQueue* aEventQ)
{
PLEventQueue* eventQueue;
InitEvent();
#if defined(XP_PC) || defined (XP_UNIX)
NS_PRECONDITION(nsnull != aEventQ, "PLEventQueue for thread is null");
eventQueue = aEventQ;
/*
#elif defined(XP_UNIX)
eventQueue = gWebShell_UnixEventQueue;
*/
#endif
PL_PostEvent(eventQueue, this);
PL_PostEvent(aEventQ, this);
}