mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 472794 - Deal with XPCNativeWrapper.prototype properly. r+sr=jst
This commit is contained in:
parent
57f49c4364
commit
52a4e552ea
@ -536,7 +536,8 @@ xpc_qsUnwrapThisImpl(JSContext *cx,
|
||||
else if(XPCNativeWrapper::IsNativeWrapperClass(clazz))
|
||||
{
|
||||
wrapper = XPCNativeWrapper::GetWrappedNative(cur);
|
||||
NS_ASSERTION(wrapper, "XPCNativeWrapper wrapping nothing");
|
||||
if(!wrapper)
|
||||
goto next;
|
||||
}
|
||||
else if(IsXPCSafeJSObjectWrapperClass(clazz))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user