summaryrefslogtreecommitdiffstats
path: root/js/src/proxy/Wrapper.cpp
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/src/proxy/Wrapper.cpp
parentbd6819820961aaed4c57949341fedc57feab7403 (diff)
downloadUXP-2b0c3663441e51e7ec1fa32411e2339cf81e19b9.tar
UXP-2b0c3663441e51e7ec1fa32411e2339cf81e19b9.tar.gz
UXP-2b0c3663441e51e7ec1fa32411e2339cf81e19b9.tar.lz
UXP-2b0c3663441e51e7ec1fa32411e2339cf81e19b9.tar.xz
UXP-2b0c3663441e51e7ec1fa32411e2339cf81e19b9.zip
1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew.
Diffstat (limited to 'js/src/proxy/Wrapper.cpp')
-rw-r--r--js/src/proxy/Wrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/proxy/Wrapper.cpp b/js/src/proxy/Wrapper.cpp
index 43d559ff3..67f437262 100644
--- a/js/src/proxy/Wrapper.cpp
+++ b/js/src/proxy/Wrapper.cpp
@@ -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;
}