Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: media/filters/audio_renderer_impl_unittest.cc

Issue 395703002: Fold {Audio|Video}Decoder::Stop() into the dtor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor fixes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/audio_renderer_impl_unittest.cc
diff --git a/media/filters/audio_renderer_impl_unittest.cc b/media/filters/audio_renderer_impl_unittest.cc
index cb7626fe0c5b44cd30edcbd4f3ad5cf6b9767375..33a2152b4627cb94bd8e4cb93ad53512fb9daa4d 100644
--- a/media/filters/audio_renderer_impl_unittest.cc
+++ b/media/filters/audio_renderer_impl_unittest.cc
@@ -147,7 +147,7 @@ class AudioRendererImplTest : public ::testing::Test {
EXPECT_CALL(*decoder_, Initialize(_, _, _))
.WillOnce(DoAll(SaveArg<2>(&output_cb_),
RunCallback<1>(PIPELINE_OK)));
- EXPECT_CALL(*decoder_, Stop());
+ EXPECT_CALL(*decoder_, Destroy());
InitializeWithStatus(PIPELINE_OK);
next_timestamp_.reset(new AudioTimestampHelper(
@@ -169,7 +169,7 @@ class AudioRendererImplTest : public ::testing::Test {
EXPECT_CALL(*decoder_, Initialize(_, _, _))
.WillOnce(DoAll(SaveArg<2>(&output_cb_),
RunCallback<1>(PIPELINE_OK)));
- EXPECT_CALL(*decoder_, Stop());
+ EXPECT_CALL(*decoder_, Destroy());
WaitableMessageLoopEvent event;
InitializeRenderer(event.GetPipelineStatusCB());
@@ -186,7 +186,7 @@ class AudioRendererImplTest : public ::testing::Test {
EXPECT_CALL(*decoder_, Initialize(_, _, _))
.WillOnce(DoAll(SaveArg<2>(&output_cb_),
EnterPendingDecoderInitStateAction(this)));
- EXPECT_CALL(*decoder_, Stop());
+ EXPECT_CALL(*decoder_, Destroy());
WaitableMessageLoopEvent event;
InitializeRenderer(event.GetPipelineStatusCB());

Powered by Google App Engine
This is Rietveld 408576698