diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-09 00:39:54 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:28 -0400 |
commit | 2b0c3663441e51e7ec1fa32411e2339cf81e19b9 (patch) | |
tree | 8e02ef7d80845dc17fc0fe3170d2d2efe38d5334 /js/src/proxy/Wrapper.cpp | |
parent | bd6819820961aaed4c57949341fedc57feab7403 (diff) | |
download | UXP-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.cpp | 4 |
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; } |