Bug 932769 followup - Fix typo. rs=evilpie

This commit is contained in:
Jan de Mooij 2013-11-02 17:35:00 +01:00
parent 4b85960fb6
commit d597374663

View File

@ -5941,7 +5941,7 @@ ClassHasEffectlessLookup(const Class *clasp)
static bool static bool
ClassHasResolveHook(JSCompartment *comp, const Class *clasp, PropertyName *name) ClassHasResolveHook(JSCompartment *comp, const Class *clasp, PropertyName *name)
{ {
if (clasp->resolve != JS_ResolveStub) if (clasp->resolve == JS_ResolveStub)
return false; return false;
if (clasp->resolve == (JSResolveOp)str_resolve) { if (clasp->resolve == (JSResolveOp)str_resolve) {