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

Unified Diff: components/browser_watcher/exit_code_watcher_win_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: components/browser_watcher/exit_code_watcher_win_unittest.cc
diff --git a/components/browser_watcher/exit_code_watcher_win_unittest.cc b/components/browser_watcher/exit_code_watcher_win_unittest.cc
index 9c1a0741b940f634832f71eca7c6a7595aafb36e..f3a3721a0620c199fbb22ba421978c835beed4a6 100644
--- a/components/browser_watcher/exit_code_watcher_win_unittest.cc
+++ b/components/browser_watcher/exit_code_watcher_win_unittest.cc
@@ -53,7 +53,9 @@ class ScopedSleeperProcess {
base::CommandLine cmd_line(base::GetMultiProcessTestChildBaseCommandLine());
base::LaunchOptions options;
options.start_hidden = true;
- process_ = base::SpawnMultiProcessTestChild("Sleeper", cmd_line, options);
+ base::SpawnChildResult spawn_result =
+ base::SpawnMultiProcessTestChild("Sleeper", cmd_line, options);
+ process_ = std::move(spawn_result.process);
ASSERT_TRUE(process_.IsValid());
}

Powered by Google App Engine
This is Rietveld 408576698