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

@@ -354,15 +354,15 @@ JavaScriptShared::fromDescriptor(JSContext *cx, const JSPropertyDescriptor &desc
return true;
}
JSBool
bool
UnknownPropertyStub(JSContext *cx, HandleObject obj, HandleId id, MutableHandleValue vp)
{
JS_ReportError(cx, "getter could not be wrapped via CPOWs");
return false;
}
JSBool
UnknownStrictPropertyStub(JSContext *cx, HandleObject obj, HandleId id, JSBool strict, MutableHandleValue vp)
bool
UnknownStrictPropertyStub(JSContext *cx, HandleObject obj, HandleId id, bool strict, MutableHandleValue vp)
{
JS_ReportError(cx, "setter could not be wrapped via CPOWs");
return false;