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

Unified Diff: sandbox/mac/sandbox_mac_compiler_v2_unittest.mm

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/sandbox_mac_compiler_v2_unittest.mm
diff --git a/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm b/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm
index aba42edbc9478a7fe05f7a73c533ed5330ca8a33..57fdd3ed322f395ef0cd4c378de430f0597842a8 100644
--- a/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm
+++ b/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm
@@ -126,7 +126,8 @@ MULTIPROCESS_TEST_MAIN(V2ProfileProcess) {
}
TEST_F(SandboxMacCompilerV2Test, V2ProfileTest) {
- base::Process process = SpawnChild("V2ProfileProcess");
+ base::SpawnChildResult spawn_result = SpawnChild("V2ProfileProcess");
+ base::Process process = std::move(spawn_result.process);
ASSERT_TRUE(process.IsValid());
int exit_code = 42;
EXPECT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(),

Powered by Google App Engine
This is Rietveld 408576698