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

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: 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
Index: remoting/host/desktop_process.cc
diff --git a/remoting/host/desktop_process.cc b/remoting/host/desktop_process.cc
index 44fb8dabd9295e4521f7b70b51758059def7d8fd..aa827ff9f49f2d1a298427b1d1459da0d07e8606 100644
--- a/remoting/host/desktop_process.cc
+++ b/remoting/host/desktop_process.cc
@@ -95,7 +95,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;

Powered by Google App Engine
This is Rietveld 408576698