summaryrefslogtreecommitdiffstats
path: root/dom/media/webrtc/MediaEngineWebRTC.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-20 10:06:50 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-20 10:06:50 +0100
commitf1e863a490ae20173210a53f516e146ebc677a36 (patch)
treec5e797f135ce19a0cc9a946219bd0bf424b25e8b /dom/media/webrtc/MediaEngineWebRTC.cpp
parent20e533f6b5595182f69560f50122a0873daaaafb (diff)
downloadUXP-f1e863a490ae20173210a53f516e146ebc677a36.tar
UXP-f1e863a490ae20173210a53f516e146ebc677a36.tar.gz
UXP-f1e863a490ae20173210a53f516e146ebc677a36.tar.lz
UXP-f1e863a490ae20173210a53f516e146ebc677a36.tar.xz
UXP-f1e863a490ae20173210a53f516e146ebc677a36.zip
Remove more Vista checks in dom/media
Diffstat (limited to 'dom/media/webrtc/MediaEngineWebRTC.cpp')
-rw-r--r--dom/media/webrtc/MediaEngineWebRTC.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/dom/media/webrtc/MediaEngineWebRTC.cpp b/dom/media/webrtc/MediaEngineWebRTC.cpp
index 522f23f61..1a2dc9a04 100644
--- a/dom/media/webrtc/MediaEngineWebRTC.cpp
+++ b/dom/media/webrtc/MediaEngineWebRTC.cpp
@@ -268,11 +268,7 @@ MediaEngineWebRTC::EnumerateVideoDevices(dom::MediaSourceEnum aMediaSource,
bool
MediaEngineWebRTC::SupportsDuplex()
{
-#ifndef XP_WIN
return mFullDuplex;
-#else
- return IsVistaOrLater() && mFullDuplex;
-#endif
}
void