diff options
Diffstat (limited to 'content/renderer/media/crypto/cdm_initialized_promise.cc')
-rw-r--r-- | content/renderer/media/crypto/cdm_initialized_promise.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/media/crypto/cdm_initialized_promise.cc b/content/renderer/media/crypto/cdm_initialized_promise.cc index 5a72c6d..8d9b7af 100644 --- a/content/renderer/media/crypto/cdm_initialized_promise.cc +++ b/content/renderer/media/crypto/cdm_initialized_promise.cc @@ -17,14 +17,14 @@ CdmInitializedPromise::~CdmInitializedPromise() { void CdmInitializedPromise::resolve() { MarkPromiseSettled(); - cdm_created_cb_.Run(cdm_.Pass()); + cdm_created_cb_.Run(cdm_.Pass(), ""); } void CdmInitializedPromise::reject(media::MediaKeys::Exception exception_code, uint32 system_code, const std::string& error_message) { MarkPromiseSettled(); - cdm_created_cb_.Run(nullptr); + cdm_created_cb_.Run(nullptr, error_message); } } // namespace content |