mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-01 03:57:30 +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
|
|
@ -89,7 +89,7 @@ CrossCompartmentWrapper::getPrototype(JSContext* cx, HandleObject wrapper,
|
|||
if (!GetPrototype(cx, wrapped, protop))
|
||||
return false;
|
||||
if (protop) {
|
||||
if (!protop->setDelegate(cx))
|
||||
if (!JSObject::setDelegate(cx, protop))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
@ -122,7 +122,7 @@ CrossCompartmentWrapper::getPrototypeIfOrdinary(JSContext* cx, HandleObject wrap
|
|||
return true;
|
||||
|
||||
if (protop) {
|
||||
if (!protop->setDelegate(cx))
|
||||
if (!JSObject::setDelegate(cx, protop))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue