diff options
Diffstat (limited to 'dom/workers/WorkerScope.h')
-rw-r--r-- | dom/workers/WorkerScope.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/workers/WorkerScope.h b/dom/workers/WorkerScope.h index 01bae5cc11..81d2733efe 100644 --- a/dom/workers/WorkerScope.h +++ b/dom/workers/WorkerScope.h @@ -132,11 +132,11 @@ public: ClearTimeout(int32_t aHandle); int32_t SetInterval(JSContext* aCx, Function& aHandler, - const Optional<int32_t>& aTimeout, + const int32_t aTimeout, const Sequence<JS::Value>& aArguments, ErrorResult& aRv); int32_t SetInterval(JSContext* aCx, const nsAString& aHandler, - const Optional<int32_t>& aTimeout, + const int32_t aTimeout, const Sequence<JS::Value>& /* unused */, ErrorResult& aRv); void ClearInterval(int32_t aHandle); |