Removed code that kept us from creating timers with a delay of
more than 10 seconds. r=kedl git-svn-id: svn://10.0.0.236/trunk@53210 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -103,12 +103,6 @@ NS_METHOD TimerImpl::SetupTimer( PRUint32 aDelay )
|
||||
struct itimerspec tv;
|
||||
int err;
|
||||
|
||||
if ((aDelay > 10000) || (aDelay < 0))
|
||||
{
|
||||
NS_WARNING("TimerImpl::SetupTimer called with bogus value\n");
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
mDelay = aDelay;
|
||||
if( mPulsePid )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user