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

@ -536,7 +536,7 @@ WrapperFactory::Rewrap(JSContext* cx, HandleObject existing, HandleObject obj)
DEBUG_CheckUnwrapSafety(obj, wrapper, origin, target);
if (existing)
return Wrapper::Renew(cx, existing, obj, wrapper);
return Wrapper::Renew(existing, obj, wrapper);
return Wrapper::New(cx, obj, wrapper);
}