mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
0b6ae7d569
commit
749fd527cc
@ -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…
Reference in New Issue
Block a user