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

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: 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..fa087d946d7c45d569fa6993883020605a84db32 100644
--- a/remoting/host/touch_injector_win.cc
+++ b/remoting/host/touch_injector_win.cc
@@ -189,7 +189,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) {

Powered by Google App Engine
This is Rietveld 408576698