mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 586116 - Crash in nsHTMLDNSPrefetch::Prefetch gNeckoChild == 0x0. r=jduell.mcbugs a=blocking-fennec2.0a1+
This commit is contained in:
parent
2abb47c1f1
commit
d03e19a821
@ -106,6 +106,11 @@ nsHTMLDNSPrefetch::Initialize()
|
|||||||
rv = CallGetService(kDNSServiceCID, &sDNSService);
|
rv = CallGetService(kDNSServiceCID, &sDNSService);
|
||||||
if (NS_FAILED(rv)) return rv;
|
if (NS_FAILED(rv)) return rv;
|
||||||
|
|
||||||
|
#ifdef MOZ_IPC
|
||||||
|
if (mozilla::net::IsNeckoChild())
|
||||||
|
mozilla::net::NeckoChild::InitNeckoChild();
|
||||||
|
#endif
|
||||||
|
|
||||||
sInitialized = PR_TRUE;
|
sInitialized = PR_TRUE;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user