summaryrefslogtreecommitdiffstats
path: root/netwerk/base/nsSocketTransportService2.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-19 20:27:33 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-19 20:27:33 +0100
commit40d8e355ceb8a309b4878c2629334c3b9c7d20e9 (patch)
tree0bbe610eb0598086993f4db815e9988b2176cd1e /netwerk/base/nsSocketTransportService2.cpp
parentda8f20a3b05387aaa1c7c81543f1aae6dd1ca99d (diff)
downloadUXP-40d8e355ceb8a309b4878c2629334c3b9c7d20e9.tar
UXP-40d8e355ceb8a309b4878c2629334c3b9c7d20e9.tar.gz
UXP-40d8e355ceb8a309b4878c2629334c3b9c7d20e9.tar.lz
UXP-40d8e355ceb8a309b4878c2629334c3b9c7d20e9.tar.xz
UXP-40d8e355ceb8a309b4878c2629334c3b9c7d20e9.zip
Remove Windows XP specific code in netwerk.
Diffstat (limited to 'netwerk/base/nsSocketTransportService2.cpp')
-rw-r--r--netwerk/base/nsSocketTransportService2.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/netwerk/base/nsSocketTransportService2.cpp b/netwerk/base/nsSocketTransportService2.cpp
index d2f20651e..068bf0eca 100644
--- a/netwerk/base/nsSocketTransportService2.cpp
+++ b/netwerk/base/nsSocketTransportService2.cpp
@@ -28,10 +28,6 @@
#include "nsIWidget.h"
#include "mozilla/dom/FlyWebService.h"
-#if defined(XP_WIN)
-#include "mozilla/WindowsVersion.h"
-#endif
-
namespace mozilla {
namespace net {
@@ -1204,12 +1200,7 @@ nsSocketTransportService::UpdateSendBufferPref(nsIPrefBranch *pref)
}
#if defined(XP_WIN)
- // If the pref is not set but this is windows set it depending on windows version
- if (!IsWin2003OrLater()) { // windows xp
- mSendBufferSize = 131072;
- } else { // vista or later
- mSendBufferSize = 131072 * 4;
- }
+ mSendBufferSize = 131072 * 4;
#endif
}