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); |