Index: dbus/signal_sender_verification_unittest.cc |
diff --git a/dbus/signal_sender_verification_unittest.cc b/dbus/signal_sender_verification_unittest.cc |
index 0f718a4817b2cf51b1b906c969c6cb19e83c6bc3..0cedda74ae17c5aba9fd080b85a453ec83c8e468 100644 |
--- a/dbus/signal_sender_verification_unittest.cc |
+++ b/dbus/signal_sender_verification_unittest.cc |
@@ -44,7 +44,7 @@ class SignalSenderVerificationTest : 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", |
@@ -71,7 +71,7 @@ class SignalSenderVerificationTest : 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()); |
@@ -278,7 +278,7 @@ TEST_F(SignalSenderVerificationTest, TestOwnerStealing) { |
// Start a test service that allows theft, 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(); |
options.request_ownership_options = Bus::REQUIRE_PRIMARY_ALLOW_REPLACEMENT; |
TestService stealable_test_service(options); |
ASSERT_TRUE(stealable_test_service.StartService()); |