mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-22 12:23:08 +09:00
1320408 - Part 9: Change JSObject::setFlags and depending methods to static method.
This commit is contained in:
parent
7e0b20a7bf
commit
7f856ff769
14 changed files with 61 additions and 55 deletions
|
|
@ -3266,7 +3266,7 @@ CreateArrayPrototype(JSContext* cx, JSProtoKey key)
|
|||
metadata));
|
||||
if (!arrayProto ||
|
||||
!JSObject::setSingleton(cx, arrayProto) ||
|
||||
!arrayProto->setDelegate(cx) ||
|
||||
!JSObject::setDelegate(cx, arrayProto) ||
|
||||
!AddLengthProperty(cx, arrayProto))
|
||||
{
|
||||
return nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue