summaryrefslogtreecommitdiffstats
path: root/chrome/browser/process_info_snapshot_mac_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/process_info_snapshot_mac_unittest.cc')
-rw-r--r--chrome/browser/process_info_snapshot_mac_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/process_info_snapshot_mac_unittest.cc b/chrome/browser/process_info_snapshot_mac_unittest.cc
index 226aadc3..0ddbda4 100644
--- a/chrome/browser/process_info_snapshot_mac_unittest.cc
+++ b/chrome/browser/process_info_snapshot_mac_unittest.cc
@@ -113,8 +113,7 @@ TEST_F(ProcessInfoSnapshotMacTest, EffectiveVsRealUserIDTest) {
base::ProcessHandle process_handle;
base::LaunchOptions options;
options.fds_to_remap = &fds_to_remap;
- options.process_handle = &process_handle;
- ASSERT_TRUE(base::LaunchProcess(argv, options));
+ ASSERT_TRUE(base::LaunchProcess(argv, options, &process_handle));
PCHECK(HANDLE_EINTR(close(fds[1])) == 0);
// Wait until there's some output form top. This is an easy way to tell that