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

Unified Diff: ipc/ipc_test_base.cc

Issue 1127153003: ipc: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 7 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_sync_message_filter.cc ('k') | ipc/mojo/async_handle_waiter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_test_base.cc
diff --git a/ipc/ipc_test_base.cc b/ipc/ipc_test_base.cc
index 6d63087d8503131c2941e57ca5d72cd7d4982e39..0d6628226917984a4ec333259ff812e8c5f5b5ad 100644
--- a/ipc/ipc_test_base.cc
+++ b/ipc/ipc_test_base.cc
@@ -4,6 +4,7 @@
#include "build/build_config.h"
+#include "base/single_thread_task_runner.h"
#include "ipc/ipc_test_base.h"
#include "base/command_line.h"
@@ -154,7 +155,7 @@ IPC::ChannelHandle IPCTestBase::GetTestChannelHandle() {
}
scoped_refptr<base::SequencedTaskRunner> IPCTestBase::task_runner() {
- return message_loop_->message_loop_proxy();
+ return message_loop_->task_runner();
}
scoped_ptr<IPC::ChannelFactory> IPCTestBase::CreateChannelFactory(
« no previous file with comments | « ipc/ipc_sync_message_filter.cc ('k') | ipc/mojo/async_handle_waiter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698