| Index: remoting/codec/video_decoder_vpx.cc
|
| diff --git a/remoting/codec/video_decoder_vpx.cc b/remoting/codec/video_decoder_vpx.cc
|
| index b0761289dde8e6c0c89a71b1623b73b0f3394627..e3db190b3a8dd4b528f41db282c85fe6ea9312a7 100644
|
| --- a/remoting/codec/video_decoder_vpx.cc
|
| +++ b/remoting/codec/video_decoder_vpx.cc
|
| @@ -8,6 +8,7 @@
|
| #include <stdint.h>
|
|
|
| #include "base/logging.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "remoting/base/util.h"
|
| #include "remoting/proto/video.pb.h"
|
| #include "third_party/libyuv/include/libyuv/convert_argb.h"
|
| @@ -68,13 +69,13 @@ void RenderRect(vpx_image_t* image,
|
| } // namespace
|
|
|
| // static
|
| -scoped_ptr<VideoDecoderVpx> VideoDecoderVpx::CreateForVP8() {
|
| - return make_scoped_ptr(new VideoDecoderVpx(vpx_codec_vp8_dx()));
|
| +std::unique_ptr<VideoDecoderVpx> VideoDecoderVpx::CreateForVP8() {
|
| + return base::WrapUnique(new VideoDecoderVpx(vpx_codec_vp8_dx()));
|
| }
|
|
|
| // static
|
| -scoped_ptr<VideoDecoderVpx> VideoDecoderVpx::CreateForVP9() {
|
| - return make_scoped_ptr(new VideoDecoderVpx(vpx_codec_vp9_dx()));
|
| +std::unique_ptr<VideoDecoderVpx> VideoDecoderVpx::CreateForVP9() {
|
| + return base::WrapUnique(new VideoDecoderVpx(vpx_codec_vp9_dx()));
|
| }
|
|
|
| VideoDecoderVpx::~VideoDecoderVpx() {}
|
|
|