Index: media/cdm/aes_decryptor_unittest.cc |
diff --git a/media/cdm/aes_decryptor_unittest.cc b/media/cdm/aes_decryptor_unittest.cc |
index 82338be6a6ab7e59575a5ef88db6e1f2006319d0..e9f3ea5ac0468b82654c9527cff0cfa00b01ba7f 100644 |
--- a/media/cdm/aes_decryptor_unittest.cc |
+++ b/media/cdm/aes_decryptor_unittest.cc |
@@ -22,6 +22,7 @@ |
#include "media/cdm/aes_decryptor.h" |
#include "media/cdm/api/content_decryption_module.h" |
#include "media/cdm/cdm_adapter.h" |
+#include "media/cdm/cdm_buffer_allocator_impl.h" |
#include "media/cdm/external_clear_key_test_helper.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest-param-test.h" |
@@ -256,7 +257,8 @@ class AesDecryptorTest : public testing::TestWithParam<std::string> { |
base::Unretained(this)), |
base::Bind(&AesDecryptorTest::OnSessionExpirationUpdate, |
base::Unretained(this)), |
- base::Bind(&AesDecryptorTest::OnCdmCreated, base::Unretained(this))); |
+ base::Bind(&AesDecryptorTest::OnCdmCreated, base::Unretained(this)), |
+ new CdmBufferAllocatorImpl()); |
message_loop_.RunUntilIdle(); |
} |