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 email@example.com: 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.