Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: remoting/host/video_frame_recorder_host_extension.cc

Issue 1550693002: Global conversion of Pass()→std::move() on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « printing/printed_page.cc ('k') | sql/connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « printing/printed_page.cc ('k') | sql/connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698