1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew.

This commit is contained in:
Gaming4JC 2019-06-09 00:39:54 -04:00 committed by Roy Tam
commit 317605333c
6 changed files with 7 additions and 7 deletions

View file

@ -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;
}