mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
1320408 - Part 15: Change NativeObject::addDataProperty to static method.
This commit is contained in:
parent
cc8cb910dd
commit
a2451c8234
6 changed files with 21 additions and 21 deletions
|
|
@ -2905,8 +2905,8 @@ StringObject::assignInitialShape(ExclusiveContext* cx, Handle<StringObject*> obj
|
|||
{
|
||||
MOZ_ASSERT(obj->empty());
|
||||
|
||||
return obj->addDataProperty(cx, cx->names().length, LENGTH_SLOT,
|
||||
JSPROP_PERMANENT | JSPROP_READONLY);
|
||||
return NativeObject::addDataProperty(cx, obj, cx->names().length, LENGTH_SLOT,
|
||||
JSPROP_PERMANENT | JSPROP_READONLY);
|
||||
}
|
||||
|
||||
JSObject*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue