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

Unified Diff: base/win/scoped_handle_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: base/win/scoped_handle_unittest.cc
diff --git a/base/win/scoped_handle_unittest.cc b/base/win/scoped_handle_unittest.cc
index ca6fb451a876e3e249ae8526f083bcc7ce0f0ec3..c75f5e0f1a961e8da02156c8af1ca71dd88834a1 100644
--- a/base/win/scoped_handle_unittest.cc
+++ b/base/win/scoped_handle_unittest.cc
@@ -114,8 +114,9 @@ TEST(ScopedHandleTest, MAYBE_MultiProcess) {
CommandLine command_line(base::GetMultiProcessTestChildBaseCommandLine());
command_line.AppendSwitch(switches::kTestDoNotInitializeIcu);
- base::Process test_child_process = base::SpawnMultiProcessTestChild(
+ base::SpawnChildResult spawn_result = base::SpawnMultiProcessTestChild(
"ActiveVerifierChildProcess", command_line, LaunchOptions());
+ base::Process test_child_process = std::move(spawn_result.process);
int rv = -1;
ASSERT_TRUE(test_child_process.WaitForExitWithTimeout(

Powered by Google App Engine
This is Rietveld 408576698