Closed Bug 1454540 Opened 3 years ago Closed 3 years ago
Private::Dispatch Private is unnecessary
The only difference between WorkerPrivate::Dispatch and WorkerPrivate::DispatchPrivate is that the latter accepts an nsIEventTarget pointer, for which the former passes nullptr. It would be simpler to have a single function with a default argument.
Assignee: nobody → jimb
Status: NEW → ASSIGNED
Attachment #8968396 - Flags: review?(amarchesini)
Attachment #8968396 - Flags: review?(amarchesini) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/34322841fae5 Remove WorkerPrivate::DispatchPrivate, and give WorkerPrivate::Dispatch a default argument instead. r=baku
You need to log in before you can comment on or make changes to this bug.