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

Unified Diff: remoting/host/touch_injector_win.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
Index: remoting/host/touch_injector_win.cc
diff --git a/remoting/host/touch_injector_win.cc b/remoting/host/touch_injector_win.cc
index 0607e48f461cc3dd78b98a50bc6d794634d67d5f..6c7c262d65b55b0a8199558e69eea8deb308d14e 100644
--- a/remoting/host/touch_injector_win.cc
+++ b/remoting/host/touch_injector_win.cc
@@ -4,6 +4,8 @@
#include "remoting/host/touch_injector_win.h"
+#include <utility>
+
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/native_library.h"
@@ -189,7 +191,7 @@ void TouchInjectorWin::InjectTouchEvent(const TouchEvent& event) {
void TouchInjectorWin::SetInjectorDelegateForTest(
scoped_ptr<TouchInjectorWinDelegate> functions) {
- delegate_ = functions.Pass();
+ delegate_ = std::move(functions);
}
void TouchInjectorWin::AddNewTouchPoints(const TouchEvent& event) {
« no previous file with comments | « remoting/host/token_validator_factory_impl_unittest.cc ('k') | remoting/host/touch_injector_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698