mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-30 19:17:31 +09:00
1320408 - Part 5: Change JSObject::constructorDisplayAtom to static method.
This commit is contained in:
parent
87bfc02f09
commit
6a21912a94
4 changed files with 8 additions and 7 deletions
|
|
@ -3849,11 +3849,10 @@ displayAtomFromObjectGroup(ObjectGroup& group)
|
|||
return script->function()->displayAtom();
|
||||
}
|
||||
|
||||
bool
|
||||
JSObject::constructorDisplayAtom(JSContext* cx, js::MutableHandleAtom name)
|
||||
/* static */ bool
|
||||
JSObject::constructorDisplayAtom(JSContext* cx, js::HandleObject obj, js::MutableHandleAtom name)
|
||||
{
|
||||
RootedObject self(cx, this); // Temporary change.
|
||||
ObjectGroup *g = JSObject::getGroup(cx, self);
|
||||
ObjectGroup *g = JSObject::getGroup(cx, obj);
|
||||
if (!g)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue