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

Unified Diff: remoting/host/ipc_input_injector.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/ipc_desktop_environment_unittest.cc ('k') | remoting/host/ipc_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_input_injector.cc
diff --git a/remoting/host/ipc_input_injector.cc b/remoting/host/ipc_input_injector.cc
index 3a2132f23a23dfe1fbc4c9e23f1ba042cc09065a..fb5fd090e0c236d216b6cc82b46d250f875a6b44 100644
--- a/remoting/host/ipc_input_injector.cc
+++ b/remoting/host/ipc_input_injector.cc
@@ -4,6 +4,8 @@
#include "remoting/host/ipc_input_injector.h"
+#include <utility>
+
#include "remoting/host/desktop_session_proxy.h"
namespace remoting {
@@ -39,7 +41,7 @@ void IpcInputInjector::InjectTouchEvent(const protocol::TouchEvent& event) {
void IpcInputInjector::Start(
scoped_ptr<protocol::ClipboardStub> client_clipboard) {
- desktop_session_proxy_->StartInputInjector(client_clipboard.Pass());
+ desktop_session_proxy_->StartInputInjector(std::move(client_clipboard));
}
} // namespace remoting
« no previous file with comments | « remoting/host/ipc_desktop_environment_unittest.cc ('k') | remoting/host/ipc_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698