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

Unified Diff: dbus/bus_unittest.cc

Issue 1179163002: Migrate callers of message_loop_proxy() to task_runner() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 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 | « dbus/bus.cc ('k') | dbus/end_to_end_async_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/bus_unittest.cc
diff --git a/dbus/bus_unittest.cc b/dbus/bus_unittest.cc
index 22ccddc57cd47406fb1ac5278012e8c16413497b..1e84fa592633e1b5b11b75fa90169723f2e1b004 100644
--- a/dbus/bus_unittest.cc
+++ b/dbus/bus_unittest.cc
@@ -137,7 +137,7 @@ TEST(BusTest, RemoveObjectProxy) {
// Create the bus.
Bus::Options options;
- options.dbus_task_runner = dbus_thread.message_loop_proxy();
+ options.dbus_task_runner = dbus_thread.task_runner();
scoped_refptr<Bus> bus = new Bus(options);
ASSERT_FALSE(bus->shutdown_completed());
@@ -217,7 +217,7 @@ TEST(BusTest, UnregisterExportedObject) {
// Create the bus.
Bus::Options options;
- options.dbus_task_runner = dbus_thread.message_loop_proxy();
+ options.dbus_task_runner = dbus_thread.task_runner();
scoped_refptr<Bus> bus = new Bus(options);
ASSERT_FALSE(bus->shutdown_completed());
@@ -267,7 +267,7 @@ TEST(BusTest, ShutdownAndBlockWithDBusThread) {
// Create the bus.
Bus::Options options;
- options.dbus_task_runner = dbus_thread.message_loop_proxy();
+ options.dbus_task_runner = dbus_thread.task_runner();
scoped_refptr<Bus> bus = new Bus(options);
ASSERT_FALSE(bus->shutdown_completed());
« no previous file with comments | « dbus/bus.cc ('k') | dbus/end_to_end_async_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698