| 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 2f318bfff3d7889f385fb4fb1ff524dec87f42d0..a5f7c1227b21b2d6050459bc32a3760cd8ee984c 100644
|
| --- a/cc/layers/video_frame_provider_client_impl.cc
|
| +++ b/cc/layers/video_frame_provider_client_impl.cc
|
| @@ -44,7 +44,8 @@ void VideoFrameProviderClientImpl::Stop() {
|
| provider_ = NULL;
|
| }
|
|
|
| -media::VideoFrame* VideoFrameProviderClientImpl::AcquireLockAndCurrentFrame() {
|
| +scoped_refptr<media::VideoFrame>
|
| +VideoFrameProviderClientImpl::AcquireLockAndCurrentFrame() {
|
| provider_lock_.Acquire(); // Balanced by call to ReleaseLock().
|
| if (!provider_)
|
| return NULL;
|
| @@ -52,7 +53,8 @@ media::VideoFrame* VideoFrameProviderClientImpl::AcquireLockAndCurrentFrame() {
|
| return provider_->GetCurrentFrame();
|
| }
|
|
|
| -void VideoFrameProviderClientImpl::PutCurrentFrame(media::VideoFrame* frame) {
|
| +void VideoFrameProviderClientImpl::PutCurrentFrame(
|
| + scoped_refptr<media::VideoFrame> frame) {
|
| provider_lock_.AssertAcquired();
|
| provider_->PutCurrentFrame(frame);
|
| }
|
|
|