| Index: cc/layers/video_frame_provider_client_impl.cc
|
| diff --git a/cc/layers/video_frame_provider_client_impl.cc b/cc/layers/video_frame_provider_client_impl.cc
|
| index 339d4fcf847ff367b63daec742811b10011ae0ef..68e10dc58edfbffaa3d53cf4466a2a675aad305d 100644
|
| --- a/cc/layers/video_frame_provider_client_impl.cc
|
| +++ b/cc/layers/video_frame_provider_client_impl.cc
|
| @@ -78,10 +78,11 @@ VideoFrameProviderClientImpl::AcquireLockAndCurrentFrame() {
|
| return provider_->GetCurrentFrame();
|
| }
|
|
|
| -void VideoFrameProviderClientImpl::PutCurrentFrame() {
|
| +void VideoFrameProviderClientImpl::PutCurrentFrame(
|
| + const scoped_refptr<media::VideoFrame>& frame) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| provider_lock_.AssertAcquired();
|
| - provider_->PutCurrentFrame();
|
| + provider_->PutCurrentFrame(frame);
|
| }
|
|
|
| void VideoFrameProviderClientImpl::ReleaseLock() {
|
| @@ -103,16 +104,6 @@ void VideoFrameProviderClientImpl::StopUsingProvider() {
|
| provider_ = nullptr;
|
| }
|
|
|
| -void VideoFrameProviderClientImpl::StartRendering() {
|
| - // TODO(dalecurtis, sunnyps): Hook this method up to control when to start
|
| - // observing vsync intervals. http://crbug.com/336733
|
| -}
|
| -
|
| -void VideoFrameProviderClientImpl::StopRendering() {
|
| - // TODO(dalecurtis, sunnyps): Hook this method up to control when to stop
|
| - // observing vsync intervals. http://crbug.com/336733
|
| -}
|
| -
|
| void VideoFrameProviderClientImpl::DidReceiveFrame() {
|
| TRACE_EVENT1("cc",
|
| "VideoFrameProviderClientImpl::DidReceiveFrame",
|
|
|