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

Unified Diff: remoting/host/mouse_shape_pump_unittest.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/mouse_shape_pump.cc ('k') | remoting/host/native_messaging/log_message_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/mouse_shape_pump_unittest.cc
diff --git a/remoting/host/mouse_shape_pump_unittest.cc b/remoting/host/mouse_shape_pump_unittest.cc
index e3cd0acce6abf7b355d78be5f1b6008b9599b557..048ed641ddba4487406ab382e5a495ab2e5228c1 100644
--- a/remoting/host/mouse_shape_pump_unittest.cc
+++ b/remoting/host/mouse_shape_pump_unittest.cc
@@ -4,6 +4,8 @@
#include "remoting/host/mouse_shape_pump.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
@@ -138,8 +140,8 @@ TEST_F(MouseShapePumpTest, FirstCursor) {
.RetiresOnSaturation();
// Start the pump.
- pump_.reset(new MouseShapePump(capture_task_runner_, cursor_monitor.Pass(),
- &client_stub_));
+ pump_.reset(new MouseShapePump(capture_task_runner_,
+ std::move(cursor_monitor), &client_stub_));
run_loop.Run();
}
« no previous file with comments | « remoting/host/mouse_shape_pump.cc ('k') | remoting/host/native_messaging/log_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698