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

Unified Diff: sandbox/mac/xpc_message_server_unittest.cc

Issue 2733323002: Changing multiprocess test SpawnChild to return a struct. (Closed)
Patch Set: Fixed bots. Created 3 years, 9 months 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: sandbox/mac/xpc_message_server_unittest.cc
diff --git a/sandbox/mac/xpc_message_server_unittest.cc b/sandbox/mac/xpc_message_server_unittest.cc
index 0feaac975e434c0a34b5993e946d671a212e99a8..336f524fc37ac70a0be7ad065a6a7d0bc507a64e 100644
--- a/sandbox/mac/xpc_message_server_unittest.cc
+++ b/sandbox/mac/xpc_message_server_unittest.cc
@@ -147,10 +147,10 @@ TEST(XPCMessageServerTest, GetSenderPID) {
#pragma GCC diagnostic pop
ASSERT_EQ(KERN_SUCCESS, kr);
- base::Process child = base::SpawnMultiProcessTestChild(
- "GetSenderPID",
- base::GetMultiProcessTestChildBaseCommandLine(),
+ base::SpawnChildResult spawn_result = base::SpawnMultiProcessTestChild(
+ "GetSenderPID", base::GetMultiProcessTestChildBaseCommandLine(),
base::LaunchOptions());
+ base::Process child = std::move(spawn_result.process);
ASSERT_TRUE(child.IsValid());
int exit_code = -1;
« base/debug/stack_trace_unittest.cc ('K') | « sandbox/mac/sandbox_mac_compiler_v2_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698