summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-10-17 13:38:57 +0200
committerMoonchild <moonchild@palemoon.org>2023-10-17 16:37:45 +0200
commit30d3325148feb564ee8d20e028cf85e707e5ae0c (patch)
treefb7fa7ae85daeff70eb0a23098d6b0c2dbff0656 /dom
parent0451648c60831f8cfc1bf5f2eb232e86e6373d68 (diff)
downloaduxp-30d3325148feb564ee8d20e028cf85e707e5ae0c.tar.gz
Issue #2346 - Remove stub for setting decryptor ID
Diffstat (limited to 'dom')
-rw-r--r--dom/media/gmp/GMPDecryptorChild.cpp5
-rw-r--r--dom/media/gmp/GMPDecryptorParent.cpp7
-rw-r--r--dom/media/gmp/GMPDecryptorParent.h2
-rw-r--r--dom/media/gmp/PGMPDecryptor.ipdl2
4 files changed, 0 insertions, 16 deletions
diff --git a/dom/media/gmp/GMPDecryptorChild.cpp b/dom/media/gmp/GMPDecryptorChild.cpp
index 6da3c6c43e..a1b561ab59 100644
--- a/dom/media/gmp/GMPDecryptorChild.cpp
+++ b/dom/media/gmp/GMPDecryptorChild.cpp
@@ -73,11 +73,6 @@ GMPDecryptorChild::Init(GMPDecryptor* aSession)
{
MOZ_ASSERT(aSession);
mSession = aSession;
- // The ID of this decryptor is the IPDL actor ID. Note it's unique inside
- // the child process, but not necessarily across all gecko processes. However,
- // since GMPDecryptors are segregated by node ID/origin, we shouldn't end up
- // with clashes in the content process.
- SendSetDecryptorId(Id());
}
void
diff --git a/dom/media/gmp/GMPDecryptorParent.cpp b/dom/media/gmp/GMPDecryptorParent.cpp
index 410868c33b..c41d5d18f5 100644
--- a/dom/media/gmp/GMPDecryptorParent.cpp
+++ b/dom/media/gmp/GMPDecryptorParent.cpp
@@ -42,13 +42,6 @@ GMPDecryptorParent::~GMPDecryptorParent()
{
}
-bool
-GMPDecryptorParent::RecvSetDecryptorId(const uint32_t& aId)
-{
- /* EME stub */
- return true;
-}
-
nsresult
GMPDecryptorParent::Init(GMPDecryptorProxyCallback* aCallback,
bool aDistinctiveIdentifierRequired,
diff --git a/dom/media/gmp/GMPDecryptorParent.h b/dom/media/gmp/GMPDecryptorParent.h
index 30ff246901..3acf7dbd96 100644
--- a/dom/media/gmp/GMPDecryptorParent.h
+++ b/dom/media/gmp/GMPDecryptorParent.h
@@ -72,8 +72,6 @@ private:
// PGMPDecryptorParent
- bool RecvSetDecryptorId(const uint32_t& aId) override;
-
bool RecvSetSessionId(const uint32_t& aCreateSessionToken,
const nsCString& aSessionId) override;
diff --git a/dom/media/gmp/PGMPDecryptor.ipdl b/dom/media/gmp/PGMPDecryptor.ipdl
index 06b9b9cb60..207933e8a6 100644
--- a/dom/media/gmp/PGMPDecryptor.ipdl
+++ b/dom/media/gmp/PGMPDecryptor.ipdl
@@ -53,8 +53,6 @@ child:
parent:
async __delete__();
- async SetDecryptorId(uint32_t aId);
-
async SetSessionId(uint32_t aCreateSessionToken,
nsCString aSessionId);