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 | |
parent | 20e533f6b5595182f69560f50122a0873daaaafb (diff) | |
download | uxp-f1e863a490ae20173210a53f516e146ebc677a36.tar.gz |
Remove more Vista checks in dom/media
Diffstat (limited to 'dom/media/platforms')
-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 8aec8a8af4..208131fef9 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; |