mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 22:08:40 +09:00
1366750 - Rename nsIIncrementalRunnable to nsIIdleRunnable
1366750 - Rename nsIIncrementalRunnable to nsIIdleRunnable.
This commit is contained in:
parent
b12cefe841
commit
464b839bbd
6 changed files with 27 additions and 27 deletions
|
|
@ -34,7 +34,7 @@
|
|||
#include "mozilla/Unused.h"
|
||||
#include "mozilla/dom/ScriptSettings.h"
|
||||
#include "nsIIdlePeriod.h"
|
||||
#include "nsIIncrementalRunnable.h"
|
||||
#include "nsIIdleRunnable.h"
|
||||
#include "nsThreadSyncDispatch.h"
|
||||
#include "LeakRefPtr.h"
|
||||
|
||||
|
|
@ -1035,7 +1035,7 @@ nsThread::GetIdleEvent(nsIRunnable** aEvent, MutexAutoLock& aProofOfLock)
|
|||
mIdleEvents.GetEvent(false, aEvent, aProofOfLock);
|
||||
|
||||
if (*aEvent) {
|
||||
nsCOMPtr<nsIIncrementalRunnable> incrementalEvent(do_QueryInterface(*aEvent));
|
||||
nsCOMPtr<nsIIdleRunnable> incrementalEvent(do_QueryInterface(*aEvent));
|
||||
if (incrementalEvent) {
|
||||
incrementalEvent->SetDeadline(idleDeadline);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue