summaryrefslogtreecommitdiffstats
path: root/dom/media/gmp/GMPParent.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-02 23:30:36 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-02 23:30:36 +0200
commite1490c07e29f5e4715f73088b7ca7aab4ada90a6 (patch)
tree282d99e6b2377ebfa74ea4156964b2317df9ca82 /dom/media/gmp/GMPParent.cpp
parent755e1020782fb42863e97d58a3e44d2eca760bb0 (diff)
downloadUXP-e1490c07e29f5e4715f73088b7ca7aab4ada90a6.tar
UXP-e1490c07e29f5e4715f73088b7ca7aab4ada90a6.tar.gz
UXP-e1490c07e29f5e4715f73088b7ca7aab4ada90a6.tar.lz
UXP-e1490c07e29f5e4715f73088b7ca7aab4ada90a6.tar.xz
UXP-e1490c07e29f5e4715f73088b7ca7aab4ada90a6.zip
Remove GMP sandbox code.
Diffstat (limited to 'dom/media/gmp/GMPParent.cpp')
-rw-r--r--dom/media/gmp/GMPParent.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/dom/media/gmp/GMPParent.cpp b/dom/media/gmp/GMPParent.cpp
index 00bc97777..851634ce7 100644
--- a/dom/media/gmp/GMPParent.cpp
+++ b/dom/media/gmp/GMPParent.cpp
@@ -18,9 +18,6 @@
#include "nsIObserverService.h"
#include "GMPTimerParent.h"
#include "runnable_utils.h"
-#if defined(XP_LINUX) && defined(MOZ_GMP_SANDBOX)
-#include "mozilla/SandboxInfo.h"
-#endif
#include "GMPContentParent.h"
#include "MediaPrefs.h"
#include "VideoUtils.h"
@@ -749,14 +746,6 @@ GMPParent::ReadGMPInfoFile(nsIFile* aFile)
if (cap.mAPIName.EqualsLiteral(GMP_API_DECRYPTOR)) {
mCanDecrypt = true;
-#if defined(XP_LINUX) && defined(MOZ_GMP_SANDBOX)
- if (!mozilla::SandboxInfo::Get().CanSandboxMedia()) {
- printf_stderr("GMPParent::ReadGMPMetaData: Plugin \"%s\" is an EME CDM"
- " but this system can't sandbox it; not loading.\n",
- mDisplayName.get());
- return GenericPromise::CreateAndReject(NS_ERROR_FAILURE, __func__);
- }
-#endif
#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