summaryrefslogtreecommitdiff
path: root/js/xpconnect
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-09 00:39:54 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:28 -0400
commit2b0c3663441e51e7ec1fa32411e2339cf81e19b9 (patch)
tree8e02ef7d80845dc17fc0fe3170d2d2efe38d5334 /js/xpconnect
parentbd6819820961aaed4c57949341fedc57feab7403 (diff)
downloaduxp-2b0c3663441e51e7ec1fa32411e2339cf81e19b9.tar.gz
1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew.
Diffstat (limited to 'js/xpconnect')
-rw-r--r--js/xpconnect/wrappers/WrapperFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/xpconnect/wrappers/WrapperFactory.cpp b/js/xpconnect/wrappers/WrapperFactory.cpp
index 0031fb1272..8c9d387887 100644
--- a/js/xpconnect/wrappers/WrapperFactory.cpp
+++ b/js/xpconnect/wrappers/WrapperFactory.cpp
@@ -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);
}