| Index: media/cdm/aes_decryptor_unittest.cc
|
| diff --git a/media/cdm/aes_decryptor_unittest.cc b/media/cdm/aes_decryptor_unittest.cc
|
| index aa59540fbdfca00eba9041d53cf5f726f7b50547..246092ae1107b36f2b82d4ebe6a59946d682d568 100644
|
| --- a/media/cdm/aes_decryptor_unittest.cc
|
| +++ b/media/cdm/aes_decryptor_unittest.cc
|
| @@ -337,6 +337,7 @@ class AesDecryptorTest : public testing::TestWithParam<std::string> {
|
| // Closes the session specified by |session_id|.
|
| void CloseSession(const std::string& session_id) {
|
| EXPECT_CALL(*this, OnSessionClosed(session_id));
|
| + EXPECT_CALL(*this, OnSessionKeysChangeCalled(session_id, false));
|
| cdm_->CloseSession(session_id, CreatePromise(RESOLVED));
|
| }
|
|
|
| @@ -347,6 +348,7 @@ class AesDecryptorTest : public testing::TestWithParam<std::string> {
|
| void RemoveSession(const std::string& session_id) {
|
| if (GetParam() == "AesDecryptor") {
|
| EXPECT_CALL(*this, OnSessionClosed(session_id));
|
| + EXPECT_CALL(*this, OnSessionKeysChangeCalled(session_id, false));
|
| cdm_->RemoveSession(session_id, CreatePromise(RESOLVED));
|
| } else {
|
| // CdmAdapter fails as only persistent sessions can be removed.
|
|
|