Chromium Code Reviews| Index: net/tools/testserver/run_testserver.cc |
| diff --git a/net/tools/testserver/run_testserver.cc b/net/tools/testserver/run_testserver.cc |
| index 6da829d9f315968d25e7bf3e87557887fe035517..8e30710a47e24cc6fd4ae95eb8c5bf54263bce4b 100644 |
| --- a/net/tools/testserver/run_testserver.cc |
| +++ b/net/tools/testserver/run_testserver.cc |
| @@ -9,6 +9,7 @@ |
| #include "base/files/file_path.h" |
| #include "base/logging.h" |
| #include "base/message_loop/message_loop.h" |
| +#include "base/run_loop.h" |
| #include "base/strings/utf_string_conversions.h" |
| #include "base/test/test_timeouts.h" |
| #include "net/test/spawned_test_server/spawned_test_server.h" |
| @@ -121,6 +122,6 @@ int main(int argc, const char* argv[]) { |
| printf("testserver running at %s (type ctrl+c to exit)\n", |
| test_server->host_port_pair().ToString().c_str()); |
| - message_loop.Run(); |
| + base::RunLoop().Run(); |
|
agl
2016/08/06 00:44:00
Should the |message_loop| variable be removed?
fdoray
2016/08/06 01:26:14
No. It needs to exist. Throughout its lifetime, a
|
| return 0; |
| } |