summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/bson.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/scripting/mozjs/bson.h')
-rw-r--r--src/mongo/scripting/mozjs/bson.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/scripting/mozjs/bson.h b/src/mongo/scripting/mozjs/bson.h
index a6c55408790..565f5b0d7a8 100644
--- a/src/mongo/scripting/mozjs/bson.h
+++ b/src/mongo/scripting/mozjs/bson.h
@@ -57,12 +57,13 @@ struct BSONInfo : public 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 resolve(JSContext* cx, JS::HandleObject obj, JS::HandleId id, bool* resolvedp);
static void setProperty(JSContext* cx,
JS::HandleObject obj,
JS::HandleId id,
- JS::MutableHandleValue vp,
+ JS::HandleValue v,
+ JS::HandleValue receiver,
JS::ObjectOpResult& result);
static const char* const className;