| Index: remoting/codec/video_encoder_vpx.cc
|
| diff --git a/remoting/codec/video_encoder_vpx.cc b/remoting/codec/video_encoder_vpx.cc
|
| index bea9a8a71e4be729cc709b1d469c02a55a5bcf23..57a1d5afbda366f6b8a79b9cca8f3f6c761185de 100644
|
| --- a/remoting/codec/video_encoder_vpx.cc
|
| +++ b/remoting/codec/video_encoder_vpx.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "remoting/codec/video_encoder_vpx.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/bind.h"
|
| #include "base/logging.h"
|
| #include "base/sys_info.h"
|
| @@ -222,8 +224,8 @@ void CreateImage(bool use_i444,
|
| image->stride[1] = uv_stride;
|
| image->stride[2] = uv_stride;
|
|
|
| - *out_image = image.Pass();
|
| - *out_image_buffer = image_buffer.Pass();
|
| + *out_image = std::move(image);
|
| + *out_image_buffer = std::move(image_buffer);
|
| }
|
|
|
| } // namespace
|
| @@ -339,7 +341,7 @@ scoped_ptr<VideoPacket> VideoEncoderVpx::Encode(
|
| }
|
| }
|
|
|
| - return packet.Pass();
|
| + return packet;
|
| }
|
|
|
| VideoEncoderVpx::VideoEncoderVpx(bool use_vp9)
|
|
|