Bug 468187 - 'Workers: Timeout ids should start at 1, not 0'. r+sr+a=jst

This commit is contained in:
Ben Turner 2008-12-07 16:15:57 -08:00
parent 90b5902b8a
commit 76d75aa4a4

View File

@ -155,7 +155,7 @@ private:
PRBool CompileGlobalObject(JSContext* aCx);
PRUint32 NextTimeoutId() {
return mNextTimeoutId++;
return ++mNextTimeoutId;
}
nsresult AddFeature(nsDOMWorkerFeature* aFeature,