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

Unified Diff: chrome/browser/process_singleton_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: chrome/browser/process_singleton_win_unittest.cc
diff --git a/chrome/browser/process_singleton_win_unittest.cc b/chrome/browser/process_singleton_win_unittest.cc
index df53228df8a9d58e9d231b18892bc88d38fafcb7..56381d2f49957b96824003601145034a827c2777 100644
--- a/chrome/browser/process_singleton_win_unittest.cc
+++ b/chrome/browser/process_singleton_win_unittest.cc
@@ -191,8 +191,9 @@ class ProcessSingletonTest : public base::MultiProcessTest {
base::LaunchOptions options;
options.start_hidden = true;
- browser_victim_ =
+ base::SpawnChildResult spawn_result =
SpawnChildWithOptions("ProcessSingletonTestProcessMain", options);
+ browser_victim_ = std::move(spawn_result.process);
// Wait for the ready event (or process exit).
HANDLE handles[] = {ready_event.Get(), browser_victim_.Handle()};

Powered by Google App Engine
This is Rietveld 408576698