Bug 1386168 - Remove nsIOservice::mProxyService. r=bagder

This commit is contained in:
hanbinchang 2017-08-04 00:09:11 -04:00
Родитель 36e139a775
Коммит f33b2dcc82
2 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -1144,10 +1144,6 @@ nsIOService::SetOffline(bool offline)
mOffline = false; // indicate success only AFTER we've
// brought up the services
// trigger a PAC reload when we come back online
if (mProxyService)
mProxyService->ReloadPAC();
mLastOfflineStateChange = PR_IntervalNow();
// don't care if notification fails
// Only send the ONLINE notification if there is connectivity
@ -1512,8 +1508,6 @@ nsIOService::Observe(nsISupports *subject,
mCaptivePortalService = nullptr;
}
// Break circular reference.
mProxyService = nullptr;
} else if (!strcmp(topic, NS_NETWORK_LINK_TOPIC)) {
OnNetworkLinkEvent(NS_ConvertUTF16toUTF8(data).get());
} else if (!strcmp(topic, NS_WIDGET_WAKE_OBSERVER_TOPIC)) {

Просмотреть файл

@ -172,7 +172,6 @@ private:
nsCOMPtr<nsPISocketTransportService> mSocketTransportService;
nsCOMPtr<nsPIDNSService> mDNSService;
nsCOMPtr<nsIProtocolProxyService2> mProxyService;
nsCOMPtr<nsICaptivePortalService> mCaptivePortalService;
nsCOMPtr<nsINetworkLinkService> mNetworkLinkService;
bool mNetworkLinkServiceInitialized;