Index: media/renderers/renderer_impl_unittest.cc |
diff --git a/media/renderers/renderer_impl_unittest.cc b/media/renderers/renderer_impl_unittest.cc |
index 97900551f4d455206f28337f704e08a48d8d1928..28953d9f0f9ee40a04abc1d1f7af3ce99d65cf84 100644 |
--- a/media/renderers/renderer_impl_unittest.cc |
+++ b/media/renderers/renderer_impl_unittest.cc |
@@ -87,6 +87,7 @@ class RendererImplTest : public ::testing::Test { |
DemuxerStream::Type type) { |
std::unique_ptr<StrictMock<MockDemuxerStream>> stream( |
new StrictMock<MockDemuxerStream>(type)); |
+ EXPECT_CALL(*stream, SetStreamRestartedCB(_)).Times(testing::AnyNumber()); |
return stream; |
} |
@@ -503,6 +504,7 @@ TEST_F(RendererImplTest, VideoStreamEnded) { |
EXPECT_CALL(time_source_, StopTicking()); |
EXPECT_CALL(callbacks_, OnEnded()); |
+ EXPECT_CALL(*video_renderer_, OnTimeStateChanged(false)); |
video_renderer_client_->OnEnded(); |
base::RunLoop().RunUntilIdle(); |
@@ -518,6 +520,7 @@ TEST_F(RendererImplTest, AudioVideoStreamsEnded) { |
EXPECT_CALL(time_source_, StopTicking()); |
EXPECT_CALL(callbacks_, OnEnded()); |
+ EXPECT_CALL(*video_renderer_, OnTimeStateChanged(false)); |
video_renderer_client_->OnEnded(); |
base::RunLoop().RunUntilIdle(); |