| Index: content/renderer/pepper/video_decoder_shim.cc
|
| diff --git a/content/renderer/pepper/video_decoder_shim.cc b/content/renderer/pepper/video_decoder_shim.cc
|
| index 8efb3d80c9831b61c0b2918449e5252315a33847..570a81fd95a9fe0234bf2ffdbd35f56a976f9db1 100644
|
| --- a/content/renderer/pepper/video_decoder_shim.cc
|
| +++ b/content/renderer/pepper/video_decoder_shim.cc
|
| @@ -1043,7 +1043,7 @@ void VideoDecoderShim::OnOutputComplete(scoped_ptr<PendingFrame> frame) {
|
| texture_size_ = frame->video_frame->coded_size();
|
| }
|
|
|
| - pending_frames_.push(linked_ptr<PendingFrame>(frame.release()));
|
| + pending_frames_.push(std::move(frame));
|
| SendPictures();
|
| }
|
| }
|
| @@ -1052,7 +1052,7 @@ void VideoDecoderShim::SendPictures() {
|
| DCHECK(RenderThreadImpl::current());
|
| DCHECK(host_);
|
| while (!pending_frames_.empty() && !available_textures_.empty()) {
|
| - const linked_ptr<PendingFrame>& frame = pending_frames_.front();
|
| + const scoped_ptr<PendingFrame>& frame = pending_frames_.front();
|
|
|
| TextureIdSet::iterator it = available_textures_.begin();
|
| uint32_t texture_id = *it;
|
|
|