diff options
Diffstat (limited to 'src/mongo/scripting/mozjs/base.h')
-rw-r--r-- | src/mongo/scripting/mozjs/base.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/scripting/mozjs/base.h b/src/mongo/scripting/mozjs/base.h index 8ed28449f01..ee60999b1c3 100644 --- a/src/mongo/scripting/mozjs/base.h +++ b/src/mongo/scripting/mozjs/base.h @@ -74,10 +74,11 @@ struct BaseInfo { JS::HandleObject obj, JS::AutoIdVector& properties, bool enumerableOnly); - static void finalize(JSFreeOp* fop, JSObject* obj); + static void finalize(js::FreeOp* fop, JSObject* obj); static void getProperty(JSContext* cx, JS::HandleObject obj, JS::HandleId id, + JS::HandleValue receiver, JS::MutableHandleValue vp); static void hasInstance(JSContext* cx, JS::HandleObject obj, @@ -89,7 +90,8 @@ struct BaseInfo { static void setProperty(JSContext* cx, JS::HandleObject obj, JS::HandleId id, - JS::MutableHandleValue vp, + JS::HandleValue v, + JS::HandleValue receiver, JS::ObjectOpResult& result); }; |