Index: net/tools/net_watcher/net_watcher.cc |
diff --git a/net/tools/net_watcher/net_watcher.cc b/net/tools/net_watcher/net_watcher.cc |
index 709a7597fec1007c3b5a232e170516236deba3d6..02cb3987ace676f939ab7c0bf7529e5a6c9510e7 100644 |
--- a/net/tools/net_watcher/net_watcher.cc |
+++ b/net/tools/net_watcher/net_watcher.cc |
@@ -21,6 +21,7 @@ |
#include "base/logging.h" |
#include "base/macros.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/run_loop.h" |
#include "base/strings/string_split.h" |
#include "base/values.h" |
#include "build/build_config.h" |
@@ -206,7 +207,7 @@ int main(int argc, char* argv[]) { |
LOG(INFO) << "Watching for network events..."; |
// Start watching for events. |
- network_loop.Run(); |
+ base::RunLoop().Run(); |
proxy_config_service->RemoveObserver(&net_watcher); |