Bug 547140, part 6 - Remove flags argument from JSObject::hasProperty. r=Waldo.

This commit is contained in:
Jason Orendorff
2014-04-25 16:11:03 -05:00
parent 0325fdff0b
commit 08303e8231
4 changed files with 7 additions and 8 deletions

View File

@@ -291,7 +291,7 @@ js::GetFirstArgumentAsObject(JSContext *cx, const CallArgs &args, const char *me
static bool
HasProperty(JSContext *cx, HandleObject obj, HandleId id, MutableHandleValue vp, bool *foundp)
{
if (!JSObject::hasProperty(cx, obj, id, foundp, 0))
if (!JSObject::hasProperty(cx, obj, id, foundp))
return false;
if (!*foundp) {
vp.setUndefined();