summaryrefslogtreecommitdiffstats
path: root/dbus/bus_unittest.cc
diff options
context:
space:
mode:
authormdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-06 20:03:24 +0000
committermdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-06 20:03:24 +0000
commit56d82c9cc1ac26ded882c9b46694a8ea5142fdf5 (patch)
treee8ea07b1e72fcd78e7e1df3ec0b2febd131ea926 /dbus/bus_unittest.cc
parentb054193d71840378f471d8ba4819ef7487eac0b9 (diff)
downloadchromium_src-56d82c9cc1ac26ded882c9b46694a8ea5142fdf5.zip
chromium_src-56d82c9cc1ac26ded882c9b46694a8ea5142fdf5.tar.gz
chromium_src-56d82c9cc1ac26ded882c9b46694a8ea5142fdf5.tar.bz2
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
Diffstat (limited to 'dbus/bus_unittest.cc')
-rw-r--r--dbus/bus_unittest.cc2
1 files changed, 1 insertions, 1 deletions
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<dbus::Bus> bus = new dbus::Bus(options);
ASSERT_FALSE(bus->shutdown_completed());