Handle wraparound of PRIntervalTime, plus crucial fixes thanks to Ere Maijala <ere@atp.fi> (138791, r=rjesup, sr=waterson).
git-svn-id: svn://10.0.0.236/trunk@119866 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -75,7 +75,9 @@ public:
|
||||
nsCOMPtr<nsIEventQueueService> mEventQueueService;
|
||||
|
||||
private:
|
||||
// These two internal functions must be called from within a lock
|
||||
// These two internal helper methods must be called while mLock is held.
|
||||
// AddTimerInternal returns the position where the timer was added in the
|
||||
// list, or -1 if it failed.
|
||||
PRInt32 AddTimerInternal(nsTimerImpl *aTimer);
|
||||
PRBool RemoveTimerInternal(nsTimerImpl *aTimer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user