зеркало из https://github.com/mozilla/gecko-dev.git
fix for 18078. r=mstoltz,warren
(looks like it is #ifdef'ed out)
This commit is contained in:
Родитель
f66be6c30c
Коммит
e2808e63be
|
@ -914,9 +914,8 @@ QueueEvent(PLEvent* aEvent)
|
|||
|
||||
nsCOMPtr<nsIEventQueueService> eqs = do_QueryInterface(is);
|
||||
if (eqs) {
|
||||
PRThread* me = PR_CurrentThread();
|
||||
nsCOMPtr<nsIEventQueue> eq;
|
||||
rv = eqs->GetThreadEventQueue(me, getter_AddRefs(eq));
|
||||
rv = eqs->GetThreadEventQueue(NS_CURRENT_THREAD, getter_AddRefs(eq));
|
||||
if (eq) {
|
||||
eq->PostEvent(aEvent);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче