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

Unified Diff: remoting/host/input_injector_chromeos.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/input_injector_chromeos.cc
diff --git a/remoting/host/input_injector_chromeos.cc b/remoting/host/input_injector_chromeos.cc
index 8fa2ea2e9d27be2359b218ca41ad1b7f5315eb3e..20bed4ccd89d217e1162f1d8eb0899a0e1190915 100644
--- a/remoting/host/input_injector_chromeos.cc
+++ b/remoting/host/input_injector_chromeos.cc
@@ -116,7 +116,7 @@ void InputInjectorChromeos::Core::Start(
// Implemented by remoting::ClipboardAura.
clipboard_ = Clipboard::Create();
- clipboard_->Start(client_clipboard.Pass());
+ clipboard_->Start(std::move(client_clipboard));
point_transformer_.reset(new PointTransformer());
}

Powered by Google App Engine
This is Rietveld 408576698