Index: chrome/app/chrome_watcher_client_unittest_win.cc |
diff --git a/chrome/app/chrome_watcher_client_unittest_win.cc b/chrome/app/chrome_watcher_client_unittest_win.cc |
index 5b916138d14ea2f46a2cdc12a968c138f0005cd3..9f371235c96b08331ff1062f84eb74d760b87c14 100644 |
--- a/chrome/app/chrome_watcher_client_unittest_win.cc |
+++ b/chrome/app/chrome_watcher_client_unittest_win.cc |
@@ -221,8 +221,7 @@ class ChromeWatcherClientTest : public testing::Test { |
void TearDown() override { |
// Even if we never launched, the following is harmless. |
SignalExit(); |
- int exit_code = 0; |
- thread_.client().WaitForExit(&exit_code); |
+ thread_.client().WaitForExit(nullptr); |
thread_.Join(); |
} |