[gjs/wip/ptomato/mozjs45prep: 14/18] jsapi-constructor-proxy: no options argument
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs45prep: 14/18] jsapi-constructor-proxy: no options argument
- Date: Sun, 19 Mar 2017 08:04:51 +0000 (UTC)
commit 276a65d8c99bef4aa1a71b5746d630c5c170537e
Author: Philip Chimento <philip endlessm com>
Date: Sun Mar 19 05:17:43 2017 +0000
jsapi-constructor-proxy: no options argument
gjs/jsapi-constructor-proxy.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gjs/jsapi-constructor-proxy.cpp b/gjs/jsapi-constructor-proxy.cpp
index 272f90e..12a8c1a 100644
--- a/gjs/jsapi-constructor-proxy.cpp
+++ b/gjs/jsapi-constructor-proxy.cpp
@@ -155,7 +155,7 @@ create_gjs_constructor_proxy(JSContext *cx,
JS::RootedObject proxy(cx,
js::NewProxyObject(cx, &GjsConstructorHandler::singleton(), args[0],
- &args[1].toObject(), nullptr));
+ &args[1].toObject()));
/* We stick this extra object into one of the proxy object's "extra slots",
* even though it is private data of the proxy handler. This is because
* proxy handlers cannot have trace callbacks. The proxy object does have a
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]