Bug 1769290 - Part 4: Apply mozilla-js-handle-rooted-typedef against dom/workers r=mccr8,dom-worker-reviewers,smaug

Changes done by `./mach static-analysis check --checks="-*,mozilla-js-handle-rooted-typedef" --fix --header-filter=dom dom/workers; ./mach clang-format --outgoing`.

Depends on D146453

Differential Revision: https://phabricator.services.mozilla.com/D146454
This commit is contained in:
Kagami Sascha Rosylight
2022-05-17 19:48:04 +00:00
parent e8c393df2f
commit 753e94b86b
13 changed files with 29 additions and 28 deletions

View File

@@ -65,7 +65,7 @@ class FetchUtil final {
* given JSContext before returning false. If executing in a worker, the
* WorkerPrivate must be given.
*/
static bool StreamResponseToJS(JSContext* aCx, JS::HandleObject aObj,
static bool StreamResponseToJS(JSContext* aCx, JS::Handle<JSObject*> aObj,
JS::MimeType aMimeType,
JS::StreamConsumer* aConsumer,
WorkerPrivate* aMaybeWorker);