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() {} |