Index: dbus/end_to_end_async_unittest.cc |
diff --git a/dbus/end_to_end_async_unittest.cc b/dbus/end_to_end_async_unittest.cc |
index 10516b999715cd5a34bfb2209f116a3cc078e713..3854721f2572ec0d8f41fce828371985632db254 100644 |
--- a/dbus/end_to_end_async_unittest.cc |
+++ b/dbus/end_to_end_async_unittest.cc |
@@ -47,7 +47,7 @@ class EndToEndAsyncTest : public testing::Test { |
// Start the test service, using the D-Bus thread. |
TestService::Options options; |
- options.dbus_task_runner = dbus_thread_->message_loop_proxy(); |
+ options.dbus_task_runner = dbus_thread_->task_runner(); |
test_service_.reset(new TestService(options)); |
ASSERT_TRUE(test_service_->StartService()); |
ASSERT_TRUE(test_service_->WaitUntilServiceIsStarted()); |
@@ -57,7 +57,7 @@ class EndToEndAsyncTest : public testing::Test { |
Bus::Options bus_options; |
bus_options.bus_type = Bus::SESSION; |
bus_options.connection_type = Bus::PRIVATE; |
- bus_options.dbus_task_runner = dbus_thread_->message_loop_proxy(); |
+ bus_options.dbus_task_runner = dbus_thread_->task_runner(); |
bus_ = new Bus(bus_options); |
object_proxy_ = bus_->GetObjectProxy( |
"org.chromium.TestService", |
@@ -138,7 +138,7 @@ class EndToEndAsyncTest : public testing::Test { |
bus_options.bus_type = Bus::CUSTOM_ADDRESS; |
bus_options.address = kInvalidAddress; |
bus_options.connection_type = Bus::PRIVATE; |
- bus_options.dbus_task_runner = dbus_thread_->message_loop_proxy(); |
+ bus_options.dbus_task_runner = dbus_thread_->task_runner(); |
bus_ = new Bus(bus_options); |
ASSERT_TRUE(bus_->HasDBusThread()); |