mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 936232 - Use setConstructor for TypedObject. r=jorendorff
This commit is contained in:
parent
bf8b28b514
commit
ed185f8be3
@ -1297,9 +1297,8 @@ js_InitTypedObjectClass(JSContext *cx, HandleObject obj)
|
||||
nullptr, nullptr,
|
||||
0))
|
||||
return nullptr;
|
||||
global->setReservedSlot(JSProto_TypedObject, moduleValue);
|
||||
global->setConstructor(JSProto_TypedObject, moduleValue);
|
||||
global->setArrayType(arrayType);
|
||||
global->markStandardClassInitializedNoProto(&TypedObjectClass);
|
||||
|
||||
// Handle
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user