| Index: media/filters/decrypting_audio_decoder_unittest.cc
|
| diff --git a/media/filters/decrypting_audio_decoder_unittest.cc b/media/filters/decrypting_audio_decoder_unittest.cc
|
| index 8f187e1ae75af470a4454fcc2789fe65137af302..83d7f5f36bdc9a7fec59aea600c9e2e9538f6953 100644
|
| --- a/media/filters/decrypting_audio_decoder_unittest.cc
|
| +++ b/media/filters/decrypting_audio_decoder_unittest.cc
|
| @@ -79,7 +79,7 @@ class DecryptingAudioDecoderTest : public testing::Test {
|
| virtual ~DecryptingAudioDecoderTest() {
|
| EXPECT_CALL(*this, RequestDecryptorNotification(_))
|
| .Times(testing::AnyNumber());
|
| - Stop();
|
| + Destroy();
|
| }
|
|
|
| void InitializeAndExpectStatus(const AudioDecoderConfig& config,
|
| @@ -234,12 +234,12 @@ class DecryptingAudioDecoderTest : public testing::Test {
|
| message_loop_.RunUntilIdle();
|
| }
|
|
|
| - void Stop() {
|
| + void Destroy() {
|
| EXPECT_CALL(*decryptor_, DeinitializeDecoder(Decryptor::kAudio))
|
| .WillRepeatedly(InvokeWithoutArgs(
|
| this, &DecryptingAudioDecoderTest::AbortAllPendingCBs));
|
|
|
| - decoder_->Stop();
|
| + decoder_.reset();
|
| message_loop_.RunUntilIdle();
|
| }
|
|
|
|
|