| Index: content/browser/renderer_host/media/video_capture_host.cc
|
| diff --git a/content/browser/renderer_host/media/video_capture_host.cc b/content/browser/renderer_host/media/video_capture_host.cc
|
| index 130a2896180b965ac0eb96d5627ff7487f1016da..d8cadcf62dd8b33837a988455f388d2e15b9ef4b 100644
|
| --- a/content/browser/renderer_host/media/video_capture_host.cc
|
| +++ b/content/browser/renderer_host/media/video_capture_host.cc
|
| @@ -271,7 +271,7 @@ void VideoCaptureHost::OnResumeCapture(
|
| void VideoCaptureHost::OnRendererFinishedWithBuffer(
|
| int device_id,
|
| int buffer_id,
|
| - uint32 sync_point,
|
| + const gpu::SyncToken& sync_token,
|
| double consumer_resource_utilization) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
| @@ -280,10 +280,7 @@ void VideoCaptureHost::OnRendererFinishedWithBuffer(
|
| if (it != entries_.end()) {
|
| const base::WeakPtr<VideoCaptureController>& controller = it->second;
|
| if (controller) {
|
| - controller->ReturnBuffer(controller_id,
|
| - this,
|
| - buffer_id,
|
| - sync_point,
|
| + controller->ReturnBuffer(controller_id, this, buffer_id, sync_token,
|
| consumer_resource_utilization);
|
| }
|
| }
|
|
|