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()); |