| 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 781c906f64535e5cf436e6c6f8e8be0b94082aa8..9f0f0da2a006b812de28c94e193e4d5478b9e79d 100644
|
| --- a/media/video/capture/video_capture_device_unittest.cc
|
| +++ b/media/video/capture/video_capture_device_unittest.cc
|
| @@ -270,7 +270,7 @@ TEST_F(VideoCaptureDeviceTest, ReAllocateCamera) {
|
| // The device (if it is an async implementation) may or may not get as far
|
| // as the OnFrameInfo() step; we're intentionally not going to wait for it
|
| // to get that far.
|
| - ON_CALL(*client, OnFrameInfo(_));
|
| + EXPECT_CALL(*client, OnFrameInfo(_)).Times(testing::AtMost(1));
|
| device->AllocateAndStart(requested_format,
|
| client.PassAs<Client>());
|
| device->StopAndDeAllocate();
|
|
|