Index: dbus/property_unittest.cc |
diff --git a/dbus/property_unittest.cc b/dbus/property_unittest.cc |
index 5208f848915365f1d9f008bc045c522d6e3a435f..59faa22e1a8e3679d3c047f239f345e940fae0b7 100644 |
--- a/dbus/property_unittest.cc |
+++ b/dbus/property_unittest.cc |
@@ -61,7 +61,7 @@ class PropertyTest : 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()); |
@@ -71,7 +71,7 @@ class PropertyTest : 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", |