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

Unified Diff: base/win/wait_chain_unittest.cc

Issue 2733323002: Changing multiprocess test SpawnChild to return a struct. (Closed)
Patch Set: Synced 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/wait_chain_unittest.cc
diff --git a/base/win/wait_chain_unittest.cc b/base/win/wait_chain_unittest.cc
index ba04872206d561234436fc6a344d339bce8727db..d5814916150fa4bf36a0b73499f20036cd16c54f 100644
--- a/base/win/wait_chain_unittest.cc
+++ b/base/win/wait_chain_unittest.cc
@@ -194,7 +194,9 @@ Process StartChildProcess(HANDLE mutex, HANDLE sync_event) {
handle_vector.push_back(mutex);
handle_vector.push_back(sync_event);
options.handles_to_inherit = &handle_vector;
- return SpawnMultiProcessTestChild("WaitChainTestProc", command_line, options);
+ base::SpawnChildResult spawn_result =
+ SpawnMultiProcessTestChild("WaitChainTestProc", command_line, options);
+ return std::move(spawn_result.process);
}
// Returns true if the |wait_chain| is an alternating sequence of thread objects
« no previous file with comments | « base/win/scoped_handle_unittest.cc ('k') | chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698