Bug 580128. Remove usage of old wrapper type which isn't needed any more. r=mrbkap@gmail.com

This commit is contained in:
Johnny Stenback 2010-10-10 15:41:37 -07:00
parent 0b6ae7d569
commit 749fd527cc

View File

@ -432,14 +432,14 @@ function BuildConditionSandbox(aURL) {
sandbox.nativeThemePref = true;
}
new XPCSafeJSObjectWrapper(sandbox).prefs = {
__exposedProps__: {
getBoolPref: 'r',
getIntPref: 'r',
},
_prefs: prefs,
getBoolPref: function(p) { return this._prefs.getBoolPref(p); },
getIntPref: function(p) { return this._prefs.getIntPref(p); }
sandbox.prefs = {
__exposedProps__: {
getBoolPref: 'r',
getIntPref: 'r',
},
_prefs: prefs,
getBoolPref: function(p) { return this._prefs.getBoolPref(p); },
getIntPref: function(p) { return this._prefs.getIntPref(p); }
}
sandbox.testPluginIsOOP = function () {