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

Unified Diff: ipc/ipc_perftest_support.cc

Issue 2087163003: Remove calls to deprecated MessageLoop methods in ipc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: manual changes 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
« no previous file with comments | « ipc/ipc_fuzzing_tests.cc ('k') | ipc/ipc_send_fds_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_perftest_support.cc
diff --git a/ipc/ipc_perftest_support.cc b/ipc/ipc_perftest_support.cc
index 050b541330feff1c14765217e97301e96482e04f..2932ce838f307e2f635b4bbc4f29f0d13ed1b603 100644
--- a/ipc/ipc_perftest_support.cc
+++ b/ipc/ipc_perftest_support.cc
@@ -15,6 +15,7 @@
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "base/pickle.h"
+#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "base/test/perf_time_logger.h"
#include "base/test/test_io_thread.h"
@@ -269,7 +270,7 @@ void IPCChannelPerfTestBase::RunTestChannelPingPong(
sender()->Send(message);
// Run message loop.
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
// Send quit message.
@@ -309,7 +310,7 @@ void IPCChannelPerfTestBase::RunTestChannelProxyPingPong(
sender()->Send(message);
// Run message loop.
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
// Send quit message.
@@ -344,7 +345,7 @@ int PingPongTestClient::RunMain() {
listener_->Init(channel.get());
CHECK(channel->Connect());
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
return 0;
}
« no previous file with comments | « ipc/ipc_fuzzing_tests.cc ('k') | ipc/ipc_send_fds_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698