зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1386168 - Remove nsIOservice::mProxyService. r=bagder
This commit is contained in:
Родитель
36e139a775
Коммит
f33b2dcc82
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче