| Index: media/filters/pipeline_integration_test_base.cc
|
| diff --git a/media/filters/pipeline_integration_test_base.cc b/media/filters/pipeline_integration_test_base.cc
|
| index 54e7f58aea6eabfc780e4f21d3fa376e0fd5d6bf..6a8843996c9c8070fd014fedde014af7192f5441 100644
|
| --- a/media/filters/pipeline_integration_test_base.cc
|
| +++ b/media/filters/pipeline_integration_test_base.cc
|
| @@ -20,6 +20,7 @@
|
| using ::testing::_;
|
| using ::testing::AnyNumber;
|
| using ::testing::AtMost;
|
| +using ::testing::Eq;
|
| using ::testing::SaveArg;
|
|
|
| namespace media {
|
| @@ -307,7 +308,11 @@ PipelineIntegrationTestBase::CreateFilterCollection(
|
| void PipelineIntegrationTestBase::SetDecryptor(
|
| Decryptor* decryptor,
|
| const DecryptorReadyCB& decryptor_ready_cb) {
|
| - decryptor_ready_cb.Run(decryptor);
|
| + decryptor_ready_cb.Run(
|
| + decryptor,
|
| + base::Bind(&PipelineIntegrationTestBase::DecryptorAttached,
|
| + base::Unretained(this)));
|
| + EXPECT_CALL(*this, DecryptorAttached(Eq(true)));
|
| }
|
|
|
| void PipelineIntegrationTestBase::OnVideoRendererPaint(
|
|
|