mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 608258 - Crash at visiting AMO [r=jdm a=blocking-fennecb2]
This commit is contained in:
parent
c13d5f5238
commit
275d1802e2
@ -144,7 +144,7 @@ HttpChannelParentListener::GetInterface(const nsIID& aIID, void **result)
|
||||
}
|
||||
|
||||
if (aIID.Equals(NS_GET_IID(nsISecureBrowserUI))) {
|
||||
if (!mActiveChannel && !mActiveChannel->mTabParent)
|
||||
if (!mActiveChannel || !mActiveChannel->mTabParent)
|
||||
return NS_NOINTERFACE;
|
||||
return mActiveChannel->mTabParent->QueryInterface(aIID, result);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user