зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
0c52758410
Коммит
f66df9a273
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче