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..e5a31bf2fe2da6f259d630f1f7ab5bc920419b14 100644 |
--- a/components/browser_watcher/window_hang_monitor_win_unittest.cc |
+++ b/components/browser_watcher/window_hang_monitor_win_unittest.cc |
@@ -362,7 +362,8 @@ class WindowHangMonitorTest : public testing::Test { |
AppendSwitchHandle(&command_line, kChildWritePipeSwitch, child_write_pipe); |
base::LaunchOptions options = {}; |
- options.inherit_handles = true; |
+ // TODO(brettw) bug 748258: Share only explicit handles. |
+ options.inherit_mode = base::LaunchOptions::Inherit::kAll; |
monitored_process_ = base::LaunchProcess(command_line, options); |
if (!monitored_process_.IsValid()) |
return false; |