Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: tools/ipc_fuzzer/message_replay/replay_process.cc

Issue 2085023004: Remove calls to deprecated MessageLoop methods in tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« tools/gn/loader_unittest.cc ('K') | « tools/gn/setup.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/message_replay/replay_process.cc
diff --git a/tools/ipc_fuzzer/message_replay/replay_process.cc b/tools/ipc_fuzzer/message_replay/replay_process.cc
index 4d8aa871b79b4be4c471ef4cc3d12f1552f03d0d..dbf2c2c22c619b5b8009d0fce1ceb92610ecab34 100644
--- a/tools/ipc_fuzzer/message_replay/replay_process.cc
+++ b/tools/ipc_fuzzer/message_replay/replay_process.cc
@@ -12,6 +12,7 @@
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/posix/global_descriptors.h"
+#include "base/run_loop.h"
#include "build/build_config.h"
#include "chrome/common/chrome_switches.h"
#include "content/public/common/content_switches.h"
@@ -157,7 +158,7 @@ void ReplayProcess::Run() {
base::TimeDelta::FromMilliseconds(1),
base::Bind(&ReplayProcess::SendNextMessage,
base::Unretained(this)));
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
bool ReplayProcess::OnMessageReceived(const IPC::Message& msg) {
« tools/gn/loader_unittest.cc ('K') | « tools/gn/setup.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698