Index: components/browser_watcher/window_hang_monitor_win_unittest.cc |
diff --git a/components/browser_watcher/window_hang_monitor_win_unittest.cc b/components/browser_watcher/window_hang_monitor_win_unittest.cc |
index 2df2a7b5a1c6d970ca48d8d75a083eb375ae84a2..b2c93d7bc54a16ffe9763d8bdbe5a94d34305f31 100644 |
--- a/components/browser_watcher/window_hang_monitor_win_unittest.cc |
+++ b/components/browser_watcher/window_hang_monitor_win_unittest.cc |
@@ -362,7 +362,7 @@ class WindowHangMonitorTest : public testing::Test { |
AppendSwitchHandle(&command_line, kChildWritePipeSwitch, child_write_pipe); |
base::LaunchOptions options = {}; |
- options.inherit_handles = true; |
+ options.inherit_mode = base::LaunchOptions::INHERIT_ALL; |
monitored_process_ = base::LaunchProcess(command_line, options); |
if (!monitored_process_.IsValid()) |
return false; |