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

Unified Diff: mojo/edk/test/multiprocess_test_helper.cc

Issue 1529303004: Convert Pass()→std::move() in mojo/edk/ (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
« no previous file with comments | « mojo/edk/system/transport_data.cc ('k') | mojo/edk/test/multiprocess_test_helper_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/test/multiprocess_test_helper.cc
diff --git a/mojo/edk/test/multiprocess_test_helper.cc b/mojo/edk/test/multiprocess_test_helper.cc
index d82cbafb0a6d9e2c20eb093983a44d30171eef87..0490119abbc227a32bdedcccd05c685379e7b834 100644
--- a/mojo/edk/test/multiprocess_test_helper.cc
+++ b/mojo/edk/test/multiprocess_test_helper.cc
@@ -4,6 +4,8 @@
#include "mojo/edk/test/multiprocess_test_helper.h"
+#include <utility>
+
#include "base/command_line.h"
#include "base/logging.h"
#include "base/process/kill.h"
@@ -117,7 +119,7 @@ void MultiprocessTestHelper::ChildSetup() {
ScopedPlatformHandle broker_handle =
PlatformChannelPair::PassClientHandleFromParentProcessFromString(
broker_handle_str);
- SetParentPipeHandle(broker_handle.Pass());
+ SetParentPipeHandle(std::move(broker_handle));
}
// static
« no previous file with comments | « mojo/edk/system/transport_data.cc ('k') | mojo/edk/test/multiprocess_test_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698