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

Unified Diff: remoting/host/desktop_process.cc

Issue 1549493004: Use std::move() instead of .Pass() in remoting/host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass
Patch Set: include <utility> 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 | « remoting/host/desktop_capturer_proxy.cc ('k') | remoting/host/desktop_process_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_process.cc
diff --git a/remoting/host/desktop_process.cc b/remoting/host/desktop_process.cc
index 50d04674d2f6d53d9ce7894c5f5eab92ea106e5e..b74c94da5bd82688188504d6b8b199ada35ff776 100644
--- a/remoting/host/desktop_process.cc
+++ b/remoting/host/desktop_process.cc
@@ -7,6 +7,8 @@
#include "remoting/host/desktop_process.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/debug/alias.h"
@@ -96,7 +98,7 @@ bool DesktopProcess::Start(
DCHECK(!desktop_environment_factory_);
DCHECK(desktop_environment_factory);
- desktop_environment_factory_ = desktop_environment_factory.Pass();
+ desktop_environment_factory_ = std::move(desktop_environment_factory);
// Launch the audio capturing thread.
scoped_refptr<AutoThreadTaskRunner> audio_task_runner;
« no previous file with comments | « remoting/host/desktop_capturer_proxy.cc ('k') | remoting/host/desktop_process_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698