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 3d3417e63f981a6d46d8c37e17611cd405731b4f..cf2b205c3532eefa4b0135d749768250f9936b8f 100644 |
--- a/content/browser/renderer_host/media/video_capture_host.cc |
+++ b/content/browser/renderer_host/media/video_capture_host.cc |
@@ -295,9 +295,10 @@ void VideoCaptureHost::OnPauseCapture(int device_id) { |
Send(new VideoCaptureMsg_StateChanged(device_id, VIDEO_CAPTURE_STATE_ERROR)); |
} |
-void VideoCaptureHost::OnReceiveEmptyBuffer(int device_id, |
- int buffer_id, |
- uint32 sync_point) { |
+void VideoCaptureHost::OnReceiveEmptyBuffer( |
+ int device_id, |
+ int buffer_id, |
+ const std::vector<uint32>& sync_points) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
VideoCaptureControllerID controller_id(device_id); |
@@ -305,7 +306,7 @@ void VideoCaptureHost::OnReceiveEmptyBuffer(int device_id, |
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_points); |
} |
} |