Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz
This commit is contained in:
@@ -414,7 +414,7 @@ JavaScriptChild::AnswerSet(const ObjectId &objId, const ObjectId &receiverId, co
|
||||
if (!toValue(cx, value, &val))
|
||||
return fail(cx, rs);
|
||||
|
||||
if (!JS_SetPropertyById(cx, obj, internedId, val.address()))
|
||||
if (!JS_SetPropertyById(cx, obj, internedId, &val))
|
||||
return fail(cx, rs);
|
||||
|
||||
if (!toVariant(cx, val, result))
|
||||
|
||||
Reference in New Issue
Block a user