Bug 1406475 - Remove Svc.Prefs as it's no longer used. r=sync-reviewers,skhamis

Differential Revision: https://phabricator.services.mozilla.com/D180811
This commit is contained in:
Marco Castelluccio 2023-06-14 23:15:37 +00:00
Родитель 0c52758410
Коммит f66df9a273
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -16,7 +16,6 @@ import {
WEAVE_VERSION,
} from "resource://services-sync/constants.sys.mjs";
import { Preferences } from "resource://gre/modules/Preferences.sys.mjs";
import { XPCOMUtils } from "resource://gre/modules/XPCOMUtils.sys.mjs";
const lazy = {};
@ -773,7 +772,6 @@ XPCOMUtils.defineLazyGetter(Utils, "utf8Encoder", () => new TextEncoder());
*/
export var Svc = {};
Svc.Prefs = new Preferences(PREFS_BRANCH);
Svc.PrefBranch = Services.prefs.getBranch(PREFS_BRANCH);
Svc.Obs = Observers;