mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
Putting back a previous change that got clobbered later by someone else
This commit is contained in:
parent
30ab43a945
commit
f54bbdd480
@ -2236,7 +2236,7 @@ GlobalWindowImpl::RunTimeout(nsTimeoutImpl *aTimeout)
|
||||
}
|
||||
|
||||
err = timeout->timer->Init(nsGlobalWindow_RunTimeout, timeout,
|
||||
delay32);
|
||||
delay32, NS_PRIORITY_LOWEST);
|
||||
if (NS_OK != err) {
|
||||
NS_RELEASE(temp);
|
||||
NS_RELEASE(tempContext);
|
||||
@ -2396,7 +2396,7 @@ GlobalWindowImpl::SetTimeoutOrInterval(JSContext *cx,
|
||||
}
|
||||
|
||||
err = timeout->timer->Init(nsGlobalWindow_RunTimeout, timeout,
|
||||
(PRInt32)interval);
|
||||
(PRInt32)interval, NS_PRIORITY_LOWEST);
|
||||
if (NS_OK != err) {
|
||||
DropTimeout(timeout);
|
||||
return err;
|
||||
|
Loading…
Reference in New Issue
Block a user