зеркало из https://github.com/mozilla/gecko-dev.git
Quick hack to get timers working (added call to tickle LPeriodical class)
This commit is contained in:
Родитель
fc42abecf1
Коммит
07fff5b61e
|
@ -18,9 +18,9 @@
|
|||
|
||||
#include "nsMacMessagePump.h"
|
||||
#include "nsWindow.h"
|
||||
#include <LPeriodical.h>
|
||||
#include "net.h" //¥¥¥TEMPORARY
|
||||
|
||||
|
||||
#define IsUserWindow(wp) (wp && ((((WindowPeek)wp)->windowKind) >= userKind))
|
||||
|
||||
nsWindow* nsMacMessagePump::gCurrentWindow = nsnull;
|
||||
|
@ -138,7 +138,7 @@ unsigned char evtype;
|
|||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
switch(theevent.what)
|
||||
{
|
||||
case nullEvent:
|
||||
|
@ -153,8 +153,10 @@ unsigned char evtype;
|
|||
}
|
||||
}
|
||||
|
||||
if(mMessenger)
|
||||
if(mMessenger)
|
||||
stillrunning = mMessenger->IsRunning();
|
||||
|
||||
LPeriodical::DevoteTimeToRepeaters(theevent);
|
||||
}
|
||||
|
||||
//if (mDispatchListener)
|
||||
|
|
Загрузка…
Ссылка в новой задаче