mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
1320408 - Part 14: Change some GlobalObject methods to static method.
This commit is contained in:
parent
b237ae6437
commit
cc8cb910dd
37 changed files with 287 additions and 259 deletions
|
|
@ -1117,7 +1117,7 @@ JSObject*
|
|||
AtomicsObject::initClass(JSContext* cx, Handle<GlobalObject*> global)
|
||||
{
|
||||
// Create Atomics Object.
|
||||
RootedObject objProto(cx, global->getOrCreateObjectPrototype(cx));
|
||||
RootedObject objProto(cx, GlobalObject::getOrCreateObjectPrototype(cx, global));
|
||||
if (!objProto)
|
||||
return nullptr;
|
||||
RootedObject Atomics(cx, NewObjectWithGivenProto(cx, &AtomicsObject::class_, objProto,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue