| Index: content/browser/renderer_host/media/video_capture_host_unittest.cc
|
| diff --git a/content/browser/renderer_host/media/video_capture_host_unittest.cc b/content/browser/renderer_host/media/video_capture_host_unittest.cc
|
| index 763ed1f9ca83edcafa1e45d3e0904002209de377..dc29d5357a423a45d077da69b6cebe0766fca29b 100644
|
| --- a/content/browser/renderer_host/media/video_capture_host_unittest.cc
|
| +++ b/content/browser/renderer_host/media/video_capture_host_unittest.cc
|
| @@ -163,7 +163,7 @@ class MockVideoCaptureHost : public VideoCaptureHost {
|
| void ReturnReceivedDibs(int device_id) {
|
| int handle = GetReceivedDib();
|
| while (handle) {
|
| - this->OnReceiveEmptyBuffer(device_id, handle, 0);
|
| + this->OnRendererFinishedWithBuffer(device_id, handle, 0, -1.0);
|
| handle = GetReceivedDib();
|
| }
|
| }
|
| @@ -245,8 +245,8 @@ class MockVideoCaptureHost : public VideoCaptureHost {
|
| OnBufferFilled(params.device_id, params.buffer_id, params.coded_size,
|
| params.visible_rect, params.timestamp, params.metadata);
|
| if (return_buffers_) {
|
| - VideoCaptureHost::OnReceiveEmptyBuffer(
|
| - params.device_id, params.buffer_id, 0);
|
| + VideoCaptureHost::OnRendererFinishedWithBuffer(
|
| + params.device_id, params.buffer_id, 0, -1.0);
|
| }
|
| }
|
|
|
| @@ -256,8 +256,8 @@ class MockVideoCaptureHost : public VideoCaptureHost {
|
| params.mailbox_holder, params.packed_frame_size,
|
| params.timestamp, params.metadata);
|
| if (return_buffers_) {
|
| - VideoCaptureHost::OnReceiveEmptyBuffer(
|
| - params.device_id, params.buffer_id, 0);
|
| + VideoCaptureHost::OnRendererFinishedWithBuffer(
|
| + params.device_id, params.buffer_id, 0, -1.0);
|
| }
|
| }
|
|
|
|
|