mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 830846 - Pass HandleObject to DefineConstructorAndPrototype; r=terrence
This commit is contained in:
parent
371c231d06
commit
f6049f1d33
@ -1765,7 +1765,7 @@ PreallocateObjectDynamicSlots(JSContext *cx, UnrootedShape shape, HeapSlot **slo
|
||||
|
||||
inline bool
|
||||
DefineConstructorAndPrototype(JSContext *cx, Handle<GlobalObject*> global,
|
||||
JSProtoKey key, JSObject *ctor, JSObject *proto)
|
||||
JSProtoKey key, HandleObject ctor, HandleObject proto)
|
||||
{
|
||||
JS_ASSERT(!global->nativeEmpty()); /* reserved slots already allocated */
|
||||
JS_ASSERT(ctor);
|
||||
|
Loading…
Reference in New Issue
Block a user