mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 580128. Remove usage of old wrapper type which isn't needed any more. r=mrbkap@gmail.com
This commit is contained in:
parent
6c7cd79252
commit
36c5c9ec0f
@ -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 () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user