From 904335c13812a0141a8cdb8911b0c8bfad9f3e4d Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 3 Aug 2011 20:08:43 -0400 Subject: [PATCH] Fix prefs initialization issue. --- common/modules/prefs.jsm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/modules/prefs.jsm b/common/modules/prefs.jsm index cd247ea5..13500685 100644 --- a/common/modules/prefs.jsm +++ b/common/modules/prefs.jsm @@ -31,9 +31,9 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]) this.branches = memoize({ __proto__: this, - get original() Prefs(this.ORIGINAL + this.root), - get restore() Prefs(this.RESTORE + this.root), - get saved() Prefs(this.SAVED + this.root), + get original() this.constructor(this.ORIGINAL + this.root), + get restore() this.constructor(this.RESTORE + this.root), + get saved() this.constructor(this.SAVED + this.root), }); if (!defaults)