From 56d82c9cc1ac26ded882c9b46694a8ea5142fdf5 Mon Sep 17 00:00:00 2001 From: "mdm@chromium.org" Date: Tue, 6 Sep 2011 20:03:24 +0000 Subject: Linux: use MessageLoopProxy instead of base::Thread in our DBus client library. This allows us to use BrowserThread::GetMessageLoopProxyForThread() to specify the DBus thread. Also do a little bit of unrelated comment cleanup. BUG=90036 Review URL: http://codereview.chromium.org/7800023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99794 0039d316-1c4b-4281-b951-d872f2087c98 --- dbus/bus_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbus/bus_unittest.cc') diff --git a/dbus/bus_unittest.cc b/dbus/bus_unittest.cc index 7d477e2..6209bc3 100644 --- a/dbus/bus_unittest.cc +++ b/dbus/bus_unittest.cc @@ -80,7 +80,7 @@ TEST(BusTest, ShutdownAndBlockWithDBusThread) { // Create the bus. dbus::Bus::Options options; - options.dbus_thread = &dbus_thread; + options.dbus_thread_message_loop_proxy = dbus_thread.message_loop_proxy(); scoped_refptr bus = new dbus::Bus(options); ASSERT_FALSE(bus->shutdown_completed()); -- cgit v1.1