summaryrefslogtreecommitdiffstats
path: root/netwerk/base/ProxyAutoConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/base/ProxyAutoConfig.cpp')
-rw-r--r--netwerk/base/ProxyAutoConfig.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/netwerk/base/ProxyAutoConfig.cpp b/netwerk/base/ProxyAutoConfig.cpp
index 7729ffc..9b4057e 100644
--- a/netwerk/base/ProxyAutoConfig.cpp
+++ b/netwerk/base/ProxyAutoConfig.cpp
@@ -21,6 +21,10 @@
#include "nsServiceManagerUtils.h"
#include "nsNetCID.h"
+#if defined(XP_MACOSX)
+# include "nsMacUtilsImpl.h"
+#endif
+
namespace mozilla {
namespace net {
@@ -661,6 +665,10 @@ nsresult ProxyAutoConfig::SetupJS() {
mJSNeedsSetup = false;
MOZ_ASSERT(!GetRunning(), "JIT is running");
+#if defined(XP_MACOSX)
+ nsMacUtilsImpl::EnableTCSMIfAvailable();
+#endif
+
delete mJSContext;
mJSContext = nullptr;