summaryrefslogtreecommitdiff
path: root/netwerk/base
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-06 19:47:29 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-06 19:47:29 -0500
commit6da9e3c6b9aa7e0be236a6f5c4f9498c25a08c3c (patch)
treef5e4fdfaa9be98d15ee7e5e0d8265ed461dfd55f /netwerk/base
parent5483f807c2663be8c63caf8d59ee151b3ef499d3 (diff)
downloaduxp-6da9e3c6b9aa7e0be236a6f5c4f9498c25a08c3c.tar.gz
Issue #1395 - Remove FlyWeb Service
Diffstat (limited to 'netwerk/base')
-rw-r--r--netwerk/base/nsSocketTransportService2.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/netwerk/base/nsSocketTransportService2.cpp b/netwerk/base/nsSocketTransportService2.cpp
index af5742564a..4a8d80eedc 100644
--- a/netwerk/base/nsSocketTransportService2.cpp
+++ b/netwerk/base/nsSocketTransportService2.cpp
@@ -25,7 +25,6 @@
#include "nsThreadUtils.h"
#include "nsIFile.h"
#include "nsIWidget.h"
-#include "mozilla/dom/FlyWebService.h"
namespace mozilla {
namespace net {
@@ -681,20 +680,6 @@ nsSocketTransportService::CreateRoutedTransport(const char **types,
nsIProxyInfo *proxyInfo,
nsISocketTransport **result)
{
- // Check FlyWeb table for host mappings. If one exists, then use that.
- RefPtr<mozilla::dom::FlyWebService> fws =
- mozilla::dom::FlyWebService::GetExisting();
- if (fws) {
- nsresult rv = fws->CreateTransportForHost(types, typeCount, host, port,
- hostRoute, portRoute,
- proxyInfo, result);
- NS_ENSURE_SUCCESS(rv, rv);
-
- if (*result) {
- return NS_OK;
- }
- }
-
NS_ENSURE_TRUE(mInitialized, NS_ERROR_NOT_INITIALIZED);
NS_ENSURE_TRUE(port >= 0 && port <= 0xFFFF, NS_ERROR_ILLEGAL_VALUE);