Index: media/video/capture/video_capture_device_unittest.cc |
diff --git a/media/video/capture/video_capture_device_unittest.cc b/media/video/capture/video_capture_device_unittest.cc |
index c4e94a013fc88f349dff9b3ae757723602fd9ceb..0c66c344fea14cea9b81874692fd079a88356c18 100644 |
--- a/media/video/capture/video_capture_device_unittest.cc |
+++ b/media/video/capture/video_capture_device_unittest.cc |
@@ -67,9 +67,8 @@ class MockClient : public VideoCaptureDevice::Client { |
MOCK_METHOD2(ReserveOutputBuffer, |
scoped_refptr<Buffer>(VideoFrame::Format format, |
const gfx::Size& dimensions)); |
- MOCK_METHOD4(OnIncomingCapturedVideoFrame, |
+ MOCK_METHOD3(OnIncomingCapturedVideoFrame, |
void(const scoped_refptr<Buffer>& buffer, |
- const VideoCaptureFormat& buffer_format, |
const scoped_refptr<VideoFrame>& frame, |
const base::TimeTicks& timestamp)); |
MOCK_METHOD1(OnError, void(const std::string& reason)); |
@@ -129,7 +128,7 @@ class VideoCaptureDeviceTest : public testing::Test { |
base::android::AttachCurrentThread()); |
#endif |
EXPECT_CALL(*client_, ReserveOutputBuffer(_,_)).Times(0); |
- EXPECT_CALL(*client_, OnIncomingCapturedVideoFrame(_,_,_,_)).Times(0); |
+ EXPECT_CALL(*client_, OnIncomingCapturedVideoFrame(_,_,_)).Times(0); |
} |
void ResetWithNewClient() { |