mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 851377 - Now ResolvingId::isResolving is not called with a null object. r=bholley
This commit is contained in:
parent
ff49b7b077
commit
466c217001
@ -537,7 +537,10 @@ bool
|
||||
XPCWrappedNativeXrayTraits::isResolving(JSContext *cx, JSObject *holder,
|
||||
jsid id)
|
||||
{
|
||||
return ResolvingId::getResolvingId(holder)->isResolving(id);
|
||||
ResolvingId *cur = ResolvingId::getResolvingId(holder);
|
||||
if (!cur)
|
||||
return false;
|
||||
return cur->isResolving(id);
|
||||
}
|
||||
|
||||
// Some DOM objects have shared properties that don't have an explicit
|
||||
|
Loading…
Reference in New Issue
Block a user