зеркало из https://github.com/mozilla/gecko-dev.git
Bug 561716 - Disable link monitoring in the child process to avoid g_type_init assertions. r=dougt
This commit is contained in:
Родитель
29340ff3a4
Коммит
e65a07747f
|
@ -271,9 +271,11 @@ nsIOService::Init()
|
|||
NS_TIME_FUNCTION_MARK("Set up the recycling allocator");
|
||||
|
||||
gIOService = this;
|
||||
|
||||
// go into managed mode if we can
|
||||
mNetworkLinkService = do_GetService(NS_NETWORK_LINK_SERVICE_CONTRACTID);
|
||||
|
||||
// go into managed mode if we can, and chrome process
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Default)
|
||||
mNetworkLinkService = do_GetService(NS_NETWORK_LINK_SERVICE_CONTRACTID);
|
||||
|
||||
if (!mNetworkLinkService)
|
||||
mManageOfflineStatus = PR_FALSE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче