Index: remoting/host/video_frame_recorder_host_extension.cc |
diff --git a/remoting/host/video_frame_recorder_host_extension.cc b/remoting/host/video_frame_recorder_host_extension.cc |
index 0ee1a5253874d4d424452f30a0698e7d45501e42..f803d157392203cada98e7b41137ebdb5af80b73 100644 |
--- a/remoting/host/video_frame_recorder_host_extension.cc |
+++ b/remoting/host/video_frame_recorder_host_extension.cc |
@@ -4,6 +4,8 @@ |
#include "remoting/host/video_frame_recorder_host_extension.h" |
+#include <utility> |
+ |
#include "base/base64.h" |
#include "base/json/json_reader.h" |
#include "base/json/json_writer.h" |
@@ -64,7 +66,7 @@ VideoFrameRecorderHostExtensionSession:: |
void VideoFrameRecorderHostExtensionSession::OnCreateVideoEncoder( |
scoped_ptr<VideoEncoder>* encoder) { |
video_frame_recorder_.DetachVideoEncoderWrapper(); |
- *encoder = video_frame_recorder_.WrapVideoEncoder(encoder->Pass()); |
+ *encoder = video_frame_recorder_.WrapVideoEncoder(std::move(*encoder)); |
} |
bool VideoFrameRecorderHostExtensionSession::ModifiesVideoPipeline() const { |