| Index: media/filters/decrypting_video_decoder_unittest.cc
|
| diff --git a/media/filters/decrypting_video_decoder_unittest.cc b/media/filters/decrypting_video_decoder_unittest.cc
|
| index db51ff282704b6696468211ca535b0a69813d785..efa9fdb34d08f56848c8d4eab3c79bf221b452d0 100644
|
| --- a/media/filters/decrypting_video_decoder_unittest.cc
|
| +++ b/media/filters/decrypting_video_decoder_unittest.cc
|
| @@ -96,7 +96,7 @@ class DecryptingVideoDecoderTest : public testing::Test {
|
| EXPECT_CALL(*this, RequestDecryptorNotification(_))
|
| .WillOnce(RunCallbackIfNotNull(decryptor_.get()));
|
|
|
| - decoder_->Initialize(demuxer_, NewExpectedStatusCB(status),
|
| + decoder_->Initialize(demuxer_.get(), NewExpectedStatusCB(status),
|
| base::Bind(&MockStatisticsCB::OnStatistics,
|
| base::Unretained(&statistics_cb_)));
|
| message_loop_.RunUntilIdle();
|
| @@ -237,7 +237,7 @@ class DecryptingVideoDecoderTest : public testing::Test {
|
| base::MessageLoop message_loop_;
|
| scoped_ptr<DecryptingVideoDecoder> decoder_;
|
| scoped_ptr<StrictMock<MockDecryptor> > decryptor_;
|
| - scoped_refptr<StrictMock<MockDemuxerStream> > demuxer_;
|
| + scoped_ptr<StrictMock<MockDemuxerStream> > demuxer_;
|
| MockStatisticsCB statistics_cb_;
|
| VideoDecoderConfig config_;
|
|
|
| @@ -573,7 +573,7 @@ TEST_F(DecryptingVideoDecoderTest, Stop_DuringDecryptorRequested) {
|
| DecryptorReadyCB decryptor_ready_cb;
|
| EXPECT_CALL(*this, RequestDecryptorNotification(_))
|
| .WillOnce(SaveArg<0>(&decryptor_ready_cb));
|
| - decoder_->Initialize(demuxer_,
|
| + decoder_->Initialize(demuxer_.get(),
|
| NewExpectedStatusCB(DECODER_ERROR_NOT_SUPPORTED),
|
| base::Bind(&MockStatisticsCB::OnStatistics,
|
| base::Unretained(&statistics_cb_)));
|
|
|