| Index: components/browser_watcher/exit_code_watcher_win_unittest.cc
|
| diff --git a/components/browser_watcher/exit_code_watcher_win_unittest.cc b/components/browser_watcher/exit_code_watcher_win_unittest.cc
|
| index e89301bfe8f26098915b7adf4923b5132ab9a50b..f9d495a324b8c0db11cc3624fe1ba57aba26d4e7 100644
|
| --- a/components/browser_watcher/exit_code_watcher_win_unittest.cc
|
| +++ b/components/browser_watcher/exit_code_watcher_win_unittest.cc
|
| @@ -39,8 +39,7 @@ class ScopedSleeperProcess {
|
| ~ScopedSleeperProcess() {
|
| if (process_.IsValid()) {
|
| process_.Terminate(-1, false);
|
| - int exit_code = 0;
|
| - EXPECT_TRUE(process_.WaitForExit(&exit_code));
|
| + EXPECT_TRUE(process_.WaitForExit(nullptr));
|
| }
|
| }
|
|
|
|
|