mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 917267 - Remove some unneeded code in xpconnect; r=bholley
This commit is contained in:
parent
32841d7ffc
commit
a1158bad50
@ -892,12 +892,6 @@ static const JSFunctionSpec glob_functions[] = {
|
||||
JS_FS_END
|
||||
};
|
||||
|
||||
const JSClass global_class = {
|
||||
"global", 0,
|
||||
JS_PropertyStub, JS_DeletePropertyStub, JS_PropertyStub, JS_StrictPropertyStub,
|
||||
JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, nullptr
|
||||
};
|
||||
|
||||
static bool
|
||||
env_setProperty(JSContext *cx, HandleObject obj, HandleId id, bool strict, MutableHandleValue vp)
|
||||
{
|
||||
@ -1179,8 +1173,6 @@ usage(void)
|
||||
return 2;
|
||||
}
|
||||
|
||||
extern const JSClass global_class;
|
||||
|
||||
static void
|
||||
ProcessArgsForCompartment(JSContext *cx, char **argv, int argc)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user