| 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 46db2279ee59ea3f1ce8779f4e0f337c026219ca..20e34a2d6785773fb6af5650548d3e13af479a37 100644
|
| --- a/content/browser/renderer_host/media/video_capture_host.cc
|
| +++ b/content/browser/renderer_host/media/video_capture_host.cc
|
| @@ -91,8 +91,7 @@ void VideoCaptureHost::OnBufferDestroyed(VideoCaptureControllerID controller_id,
|
| void VideoCaptureHost::OnBufferReady(
|
| VideoCaptureControllerID controller_id,
|
| int buffer_id,
|
| - const scoped_refptr<media::VideoFrame>& video_frame,
|
| - const base::TimeTicks& timestamp) {
|
| + const scoped_refptr<media::VideoFrame>& video_frame) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| if (entries_.find(controller_id) == entries_.end())
|
| return;
|
| @@ -100,7 +99,7 @@ void VideoCaptureHost::OnBufferReady(
|
| VideoCaptureMsg_BufferReady_Params params;
|
| params.device_id = controller_id;
|
| params.buffer_id = buffer_id;
|
| - params.timestamp = timestamp;
|
| + params.timestamp = video_frame->timestamp();
|
| video_frame->metadata()->MergeInternalValuesInto(¶ms.metadata);
|
| params.pixel_format = video_frame->format();
|
| params.storage_type = video_frame->storage_type();
|
|
|