summaryrefslogtreecommitdiff
path: root/chromium/media/mojo/clients/mojo_cdm.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/media/mojo/clients/mojo_cdm.cc
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
downloadqtwebengine-chromium-85-based.tar.gz
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/media/mojo/clients/mojo_cdm.cc')
-rw-r--r--chromium/media/mojo/clients/mojo_cdm.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/chromium/media/mojo/clients/mojo_cdm.cc b/chromium/media/mojo/clients/mojo_cdm.cc
index acc9d1ca9de..df477ee2584 100644
--- a/chromium/media/mojo/clients/mojo_cdm.cc
+++ b/chromium/media/mojo/clients/mojo_cdm.cc
@@ -23,7 +23,6 @@
#include "media/mojo/mojom/decryptor.mojom.h"
#include "services/service_manager/public/cpp/connect.h"
#include "services/service_manager/public/mojom/interface_provider.mojom.h"
-#include "url/origin.h"
namespace media {
@@ -39,7 +38,6 @@ void RecordConnectionError(bool connection_error_happened) {
// static
void MojoCdm::Create(
const std::string& key_system,
- const url::Origin& security_origin,
const CdmConfig& cdm_config,
mojo::PendingRemote<mojom::ContentDecryptionModule> remote_cdm,
const SessionMessageCB& session_message_cb,
@@ -55,8 +53,7 @@ void MojoCdm::Create(
auto promise = std::make_unique<CdmInitializedPromise>(
std::move(cdm_created_cb), mojo_cdm);
- mojo_cdm->InitializeCdm(key_system, security_origin, cdm_config,
- std::move(promise));
+ mojo_cdm->InitializeCdm(key_system, cdm_config, std::move(promise));
}
MojoCdm::MojoCdm(mojo::PendingRemote<mojom::ContentDecryptionModule> remote_cdm,
@@ -103,7 +100,6 @@ MojoCdm::~MojoCdm() {
// error handler can't be invoked and callbacks won't be dispatched.
void MojoCdm::InitializeCdm(const std::string& key_system,
- const url::Origin& security_origin,
const CdmConfig& cdm_config,
std::unique_ptr<CdmInitializedPromise> promise) {
DVLOG(1) << __func__ << ": " << key_system;
@@ -127,7 +123,7 @@ void MojoCdm::InitializeCdm(const std::string& key_system,
pending_init_promise_ = std::move(promise);
remote_cdm_->Initialize(
- key_system, security_origin, cdm_config,
+ key_system, cdm_config,
base::BindOnce(&MojoCdm::OnCdmInitialized, base::Unretained(this)));
}