mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 797821 - Removed the unused reserved slot for XPConnect globals. r=mrbkap
This commit is contained in:
parent
1fd1acf5e9
commit
3d0731683a
@ -22,10 +22,8 @@ class nsCycleCollectionParticipant;
|
||||
// bindings.
|
||||
#define DOM_XRAY_EXPANDO_SLOT 1
|
||||
|
||||
// All DOM globals must have a slot at DOM_PROTOTYPE_SLOT. We have to
|
||||
// start at 1 past JSCLASS_GLOBAL_SLOT_COUNT because XPConnect uses
|
||||
// that one.
|
||||
#define DOM_PROTOTYPE_SLOT (JSCLASS_GLOBAL_SLOT_COUNT + 1)
|
||||
// All DOM globals must have a slot at DOM_PROTOTYPE_SLOT.
|
||||
#define DOM_PROTOTYPE_SLOT JSCLASS_GLOBAL_SLOT_COUNT
|
||||
|
||||
// We use these flag bits for the new bindings.
|
||||
#define JSCLASS_DOM_GLOBAL JSCLASS_USERBIT1
|
||||
|
@ -45,7 +45,7 @@ TransplantObjectWithWrapper(JSContext *cx,
|
||||
#define XPCONNECT_GLOBAL_FLAGS \
|
||||
JSCLASS_DOM_GLOBAL | JSCLASS_HAS_PRIVATE | \
|
||||
JSCLASS_PRIVATE_IS_NSISUPPORTS | JSCLASS_IMPLEMENTS_BARRIERS | \
|
||||
JSCLASS_GLOBAL_FLAGS_WITH_SLOTS(3)
|
||||
JSCLASS_GLOBAL_FLAGS_WITH_SLOTS(2)
|
||||
|
||||
void
|
||||
TraceXPCGlobal(JSTracer *trc, JSObject *obj);
|
||||
|
Loading…
Reference in New Issue
Block a user