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

Unified Diff: third_party/mojo/src/mojo/edk/system/ipc_support_unittest.cc

Issue 1545333002: Convert Pass()→std::move() in //third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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: third_party/mojo/src/mojo/edk/system/ipc_support_unittest.cc
diff --git a/third_party/mojo/src/mojo/edk/system/ipc_support_unittest.cc b/third_party/mojo/src/mojo/edk/system/ipc_support_unittest.cc
index 4ebaafd43b1805071a042e4ecbf726f8a66a83fe..31a1ac54daa48dcd1aa6089a7e9508ead18a936e 100644
--- a/third_party/mojo/src/mojo/edk/system/ipc_support_unittest.cc
+++ b/third_party/mojo/src/mojo/edk/system/ipc_support_unittest.cc
@@ -204,7 +204,7 @@ class TestSlaveConnection {
}
embedder::ScopedPlatformHandle PassSlavePlatformHandle() {
- return slave_platform_handle_.Pass();
+ return std::move(slave_platform_handle_);
}
const ConnectionIdentifier& connection_id() const { return connection_id_; }
@@ -235,7 +235,7 @@ class TestSlave {
embedder::ProcessType::SLAVE,
&slave_process_delegate_,
test_io_thread->task_runner(),
- platform_handle.Pass()),
+ std::move(platform_handle)),
event_(true, false) {}
~TestSlave() {}
« no previous file with comments | « third_party/mojo/src/mojo/edk/system/ipc_support.cc ('k') | third_party/mojo/src/mojo/edk/system/local_data_pipe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698