Bug 8844105 - Handlify JS_WrapObject. r=terrence

This commit is contained in:
Tom Schuster
2013-10-15 20:02:23 -04:00
parent 6b448ec5aa
commit b6ee9f1bce
37 changed files with 100 additions and 99 deletions

View File

@@ -557,7 +557,7 @@ JavaScriptParent::unwrap(JSContext *cx, ObjectId objId)
{
RootedObject obj(cx, findObject(objId));
if (obj) {
if (!JS_WrapObject(cx, obj.address()))
if (!JS_WrapObject(cx, &obj))
return nullptr;
return obj;
}