summaryrefslogtreecommitdiffstats
path: root/dom/media/gmp/GMPParent.cpp
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-11-09 21:42:45 +0530
committeradeshkp <adeshkp@users.noreply.github.com>2019-11-10 06:01:40 -0500
commit0fb5f7a158e0a5a610e1ba85cf408525964d746e (patch)
tree22df72bc308a67dffec02c0aa94ff2969e78e209 /dom/media/gmp/GMPParent.cpp
parent736d25cbec4541186ed46c935c117ce4d1c7f3bb (diff)
downloadUXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar.gz
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar.lz
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar.xz
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.zip
Issue #1259 - Part 1. Remove Adobe Primetime support from tree
Diffstat (limited to 'dom/media/gmp/GMPParent.cpp')
-rw-r--r--dom/media/gmp/GMPParent.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/dom/media/gmp/GMPParent.cpp b/dom/media/gmp/GMPParent.cpp
index 418f14736..234ed5c05 100644
--- a/dom/media/gmp/GMPParent.cpp
+++ b/dom/media/gmp/GMPParent.cpp
@@ -726,16 +726,6 @@ GMPParent::ReadGMPInfoFile(nsIFile* aFile)
if (cap.mAPIName.EqualsLiteral(GMP_API_DECRYPTOR)) {
mCanDecrypt = true;
-
-#ifdef XP_WIN
- // Adobe GMP doesn't work without SSE2. Check the tags to see if
- // the decryptor is for the Adobe GMP, and refuse to load it if
- // SSE2 isn't supported.
- if (cap.mAPITags.Contains(kEMEKeySystemPrimetime) &&
- !mozilla::supports_sse2()) {
- return GenericPromise::CreateAndReject(NS_ERROR_FAILURE, __func__);
- }
-#endif // XP_WIN
}
mCapabilities.AppendElement(Move(cap));