Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.

This commit is contained in:
Nicholas Nethercote
2013-08-02 00:41:57 -07:00
parent a9e147ab4f
commit 966f6b5ff2
108 changed files with 1455 additions and 1455 deletions

View File

@@ -23,13 +23,13 @@ JSClass global_class = {
JSObject *trusted_glob = NULL;
JSObject *trusted_fun = NULL;
JSBool
bool
CallTrusted(JSContext *cx, unsigned argc, jsval *vp)
{
if (!JS_SaveFrameChain(cx))
return JS_FALSE;
return false;
JSBool ok = JS_FALSE;
bool ok = false;
{
JSAutoCompartment ac(cx, trusted_glob);
ok = JS_CallFunctionValue(cx, NULL, JS::ObjectValue(*trusted_fun),