mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew.
This commit is contained in:
parent
f376135778
commit
317605333c
6 changed files with 7 additions and 7 deletions
|
|
@ -312,9 +312,9 @@ Wrapper::New(JSContext* cx, JSObject* obj, const Wrapper* handler,
|
|||
}
|
||||
|
||||
JSObject*
|
||||
Wrapper::Renew(JSContext* cx, JSObject* existing, JSObject* obj, const Wrapper* handler)
|
||||
Wrapper::Renew(JSObject* existing, JSObject* obj, const Wrapper* handler)
|
||||
{
|
||||
existing->as<ProxyObject>().renew(cx, handler, ObjectValue(*obj));
|
||||
existing->as<ProxyObject>().renew(handler, ObjectValue(*obj));
|
||||
return existing;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue