Skip to content

Commit

Permalink
Bug 1782148 - Fix up imports of XPCOMUtils in ToastNotification code …
Browse files Browse the repository at this point in the history
…r=nalexander

This also removes the import of Services.jsm since it is no longer required as
of bug 1667455.

Differential Revision: https://phabricator.services.mozilla.com/D153130
  • Loading branch information
Barret Rennie committed Aug 3, 2022
1 parent 74ce47d commit 97ded29
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions toolkit/components/backgroundtasks/BackgroundTask_message.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ const { ASRouter } = ChromeUtils.import(
const { BackgroundTasksUtils } = ChromeUtils.import(
"resource://gre/modules/BackgroundTasksUtils.jsm"
);
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
const { XPCOMUtils } = ChromeUtils.import(
"resource://gre/modules/XPCOMUtils.jsm"
const { XPCOMUtils } = ChromeUtils.importESModule(
"resource://gre/modules/XPCOMUtils.sys.mjs"
);

const lazy = {};
Expand Down

0 comments on commit 97ded29

Please sign in to comment.