diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/mediacapturefromelement/canvas_capture_handler_unittest.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/mediacapturefromelement/canvas_capture_handler_unittest.cc | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/chromium/third_party/blink/renderer/modules/mediacapturefromelement/canvas_capture_handler_unittest.cc b/chromium/third_party/blink/renderer/modules/mediacapturefromelement/canvas_capture_handler_unittest.cc index 3c82aa9a8b3..a7d70291eff 100644 --- a/chromium/third_party/blink/renderer/modules/mediacapturefromelement/canvas_capture_handler_unittest.cc +++ b/chromium/third_party/blink/renderer/modules/mediacapturefromelement/canvas_capture_handler_unittest.cc @@ -71,8 +71,10 @@ class CanvasCaptureHandlerTest // Necessary callbacks and MOCK_METHODS for VideoCapturerSource. MOCK_METHOD2(DoOnDeliverFrame, void(scoped_refptr<media::VideoFrame>, base::TimeTicks)); - void OnDeliverFrame(scoped_refptr<media::VideoFrame> video_frame, - base::TimeTicks estimated_capture_time) { + void OnDeliverFrame( + scoped_refptr<media::VideoFrame> video_frame, + std::vector<scoped_refptr<media::VideoFrame>> scaled_video_frames, + base::TimeTicks estimated_capture_time) { DoOnDeliverFrame(std::move(video_frame), estimated_capture_time); } @@ -93,11 +95,13 @@ class CanvasCaptureHandlerTest SkImage::MakeFromBitmap(testBitmap)); } - void OnVerifyDeliveredFrame(bool opaque, - int expected_width, - int expected_height, - scoped_refptr<media::VideoFrame> video_frame, - base::TimeTicks estimated_capture_time) { + void OnVerifyDeliveredFrame( + bool opaque, + int expected_width, + int expected_height, + scoped_refptr<media::VideoFrame> video_frame, + std::vector<scoped_refptr<media::VideoFrame>> scaled_video_frames, + base::TimeTicks estimated_capture_time) { if (opaque) EXPECT_EQ(media::PIXEL_FORMAT_I420, video_frame->format()); else |