diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-20 10:06:50 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-20 10:06:50 +0100 |
commit | f1e863a490ae20173210a53f516e146ebc677a36 (patch) | |
tree | c5e797f135ce19a0cc9a946219bd0bf424b25e8b /dom/media/platforms/wmf | |
parent | 20e533f6b5595182f69560f50122a0873daaaafb (diff) | |
download | UXP-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/platforms/wmf')
-rw-r--r-- | dom/media/platforms/wmf/WMFUtils.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/dom/media/platforms/wmf/WMFUtils.cpp b/dom/media/platforms/wmf/WMFUtils.cpp index 8aec8a8af..208131fef 100644 --- a/dom/media/platforms/wmf/WMFUtils.cpp +++ b/dom/media/platforms/wmf/WMFUtils.cpp @@ -205,16 +205,6 @@ LoadDLLs() HRESULT MFStartup() { - if (!IsVistaOrLater() || IsWin7AndPre2000Compatible()) { - // *Only* use WMF on Vista and later, as if Firefox is run in Windows 95 - // compatibility mode on Windows 7 (it does happen!) we may crash trying - // to startup WMF. So we need to detect the OS version here, as in - // compatibility mode IsVistaOrLater() and friends behave as if we're on - // the emulated version of Windows. See bug 1279171. - // Using GetVersionEx API which takes compatibility mode into account. - return E_FAIL; - } - HRESULT hr = LoadDLLs(); if (FAILED(hr)) { return hr; |