mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Bug 468187 - 'Workers: Timeout ids should start at 1, not 0'. r+sr+a=jst
This commit is contained in:
parent
90b5902b8a
commit
76d75aa4a4
@ -155,7 +155,7 @@ private:
|
||||
PRBool CompileGlobalObject(JSContext* aCx);
|
||||
|
||||
PRUint32 NextTimeoutId() {
|
||||
return mNextTimeoutId++;
|
||||
return ++mNextTimeoutId;
|
||||
}
|
||||
|
||||
nsresult AddFeature(nsDOMWorkerFeature* aFeature,
|
||||
|
Loading…
Reference in New Issue
Block a user