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

Unified Diff: base/win/wait_chain_unittest.cc

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Merge Created 3 years, 5 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
« no previous file with comments | « base/test/multiprocess_test_android.cc ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/wait_chain_unittest.cc
diff --git a/base/win/wait_chain_unittest.cc b/base/win/wait_chain_unittest.cc
index d5814916150fa4bf36a0b73499f20036cd16c54f..60b0c6d1837ee5181f367f872dd2f0f73f4016e3 100644
--- a/base/win/wait_chain_unittest.cc
+++ b/base/win/wait_chain_unittest.cc
@@ -190,10 +190,8 @@ Process StartChildProcess(HANDLE mutex, HANDLE sync_event) {
AppendSwitchHandle(&command_line, "sync_event", sync_event);
LaunchOptions options;
- HandlesToInheritVector handle_vector;
- handle_vector.push_back(mutex);
- handle_vector.push_back(sync_event);
- options.handles_to_inherit = &handle_vector;
+ options.handles_to_inherit.push_back(mutex);
+ options.handles_to_inherit.push_back(sync_event);
base::SpawnChildResult spawn_result =
SpawnMultiProcessTestChild("WaitChainTestProc", command_line, options);
return std::move(spawn_result.process);
« no previous file with comments | « base/test/multiprocess_test_android.cc ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698