Index: chrome/test/chromedriver/net/port_server_unittest.cc |
diff --git a/chrome/test/chromedriver/net/port_server_unittest.cc b/chrome/test/chromedriver/net/port_server_unittest.cc |
index 3d5298c623c08fb050df51d83df506ed84b5eba3..c43f6938d58954109956cbb02e28bf4be96f34fc 100644 |
--- a/chrome/test/chromedriver/net/port_server_unittest.cc |
+++ b/chrome/test/chromedriver/net/port_server_unittest.cc |
@@ -128,7 +128,9 @@ class PortServerTest : public testing::Test { |
void RunServer(const std::string& path, |
const std::string& response, |
std::string* request) { |
- base::WaitableEvent listen_event(false, false); |
+ base::WaitableEvent listen_event( |
+ base::WaitableEvent::ResetPolicy::AUTOMATIC, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED); |
thread_.task_runner()->PostTask( |
FROM_HERE, |
base::Bind(&RunServerOnThread, path, response, &listen_event, request)); |