mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
On windows call PL_InitializeEventsLib(...) until the new PL_event apis are available...
This commit is contained in:
parent
a7dc847b39
commit
d24a5c8c3d
@ -110,6 +110,11 @@ nsEventQueueServiceImpl::CreateThreadEventQueue(void)
|
||||
}
|
||||
|
||||
evQueue = PL_CreateEventQueue("Thread event queue...", PR_GetCurrentThread());
|
||||
#ifdef XP_PC
|
||||
// XXX: For now only use the main eventQ... When the event queue is
|
||||
// created via PL_CreateNativeEventQueue(...) this can go away...
|
||||
PL_InitializeEventsLib("");
|
||||
#endif
|
||||
if (NULL == evQueue) {
|
||||
rv = NS_ERROR_OUT_OF_MEMORY;
|
||||
goto done;
|
||||
|
@ -110,6 +110,11 @@ nsEventQueueServiceImpl::CreateThreadEventQueue(void)
|
||||
}
|
||||
|
||||
evQueue = PL_CreateEventQueue("Thread event queue...", PR_GetCurrentThread());
|
||||
#ifdef XP_PC
|
||||
// XXX: For now only use the main eventQ... When the event queue is
|
||||
// created via PL_CreateNativeEventQueue(...) this can go away...
|
||||
PL_InitializeEventsLib("");
|
||||
#endif
|
||||
if (NULL == evQueue) {
|
||||
rv = NS_ERROR_OUT_OF_MEMORY;
|
||||
goto done;
|
||||
|
Loading…
Reference in New Issue
Block a user