diff --git a/dom/base/nsGlobalWindow.h b/dom/base/nsGlobalWindow.h index 7603a8ad39c2..a2886a173d1c 100644 --- a/dom/base/nsGlobalWindow.h +++ b/dom/base/nsGlobalWindow.h @@ -475,7 +475,7 @@ public: static bool IsShowModalDialogEnabled(JSContext* /* unused */ = nullptr, JSObject* /* unused */ = nullptr); - static bool IsRequestIdleCallbackEnabled(JSContext* /* unused */, JSObject* aObj); + static bool IsRequestIdleCallbackEnabled(JSContext* aCx, JSObject* /* unused */); bool DoResolve(JSContext* aCx, JS::Handle aObj, JS::Handle aId,