Index: content/renderer/media/rtc_video_decoder_unittest.cc |
diff --git a/content/renderer/media/rtc_video_decoder_unittest.cc b/content/renderer/media/rtc_video_decoder_unittest.cc |
index 73d2bb46ecf6487dcecde95179a0826e89f056f4..039fc94ad6029849ca241e1db63a14d9384314af 100644 |
--- a/content/renderer/media/rtc_video_decoder_unittest.cc |
+++ b/content/renderer/media/rtc_video_decoder_unittest.cc |
@@ -34,6 +34,7 @@ using media::MockStatisticsCallback; |
using media::MockVideoRenderer; |
using media::MockFilterHost; |
using media::NewExpectedClosure; |
+using media::NewExpectedStatusCB; |
using media::PipelineStatistics; |
using media::PIPELINE_OK; |
using media::StatisticsCallback; |
@@ -132,8 +133,8 @@ class RTCVideoDecoderTest : public testing::Test { |
void InitializeDecoderSuccessfully() { |
// Test successful initialization. |
- decoder_->Initialize(NULL, |
- NewExpectedClosure(), NewStatisticsCallback()); |
+ decoder_->Initialize( |
+ NULL, NewExpectedStatusCB(PIPELINE_OK), NewStatisticsCallback()); |
message_loop_.RunAllPending(); |
} |