Index: media/base/pipeline_impl_unittest.cc |
diff --git a/media/base/pipeline_impl_unittest.cc b/media/base/pipeline_impl_unittest.cc |
index 07f773d80e1ac9db5606278f87a545610617297b..228315dcea0e0f893e722af843282ca554c75556 100644 |
--- a/media/base/pipeline_impl_unittest.cc |
+++ b/media/base/pipeline_impl_unittest.cc |
@@ -21,11 +21,13 @@ using ::testing::_; |
using ::testing::DeleteArg; |
using ::testing::InSequence; |
using ::testing::Invoke; |
+using ::testing::InvokeArgument; |
using ::testing::Mock; |
using ::testing::NotNull; |
using ::testing::Return; |
using ::testing::ReturnRef; |
using ::testing::StrictMock; |
+using ::testing::WithArg; |
namespace media { |
@@ -126,7 +128,7 @@ class PipelineImplTest : public ::testing::Test { |
void InitializeVideoDecoder(MockDemuxerStream* stream) { |
EXPECT_CALL(*mocks_->video_decoder(), |
Initialize(stream, _, _)) |
- .WillOnce(Invoke(&RunFilterCallback3)); |
+ .WillOnce(WithArg<1>(Invoke(&RunPipelineStatusOKCB))); |
EXPECT_CALL(*mocks_->video_decoder(), SetPlaybackRate(0.0f)); |
EXPECT_CALL(*mocks_->video_decoder(), |
Seek(mocks_->demuxer()->GetStartTime(), _)) |