Bug 898914 (part 1) - Remove JSBool.

This commit is contained in:
Nicholas Nethercote
2013-08-08 15:53:04 -07:00
parent 9341ae9918
commit f7d6f07d24
229 changed files with 3043 additions and 2728 deletions

View File

@@ -394,7 +394,7 @@ JavaScriptParent::call(JSContext *cx, HandleObject proxy, const CallArgs &args)
JSObject *obj = &v.toObject();
if (xpc::IsOutObject(cx, obj)) {
// Make sure it is not an in-out object.
JSBool found;
bool found;
if (!JS_HasProperty(cx, obj, "value", &found))
return false;
if (found) {