Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1945)

Unified Diff: dbus/bus.cc

Issue 1179163002: Migrate callers of message_loop_proxy() to task_runner() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/html_viewer/setup.cc ('k') | dbus/bus_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/bus.cc
diff --git a/dbus/bus.cc b/dbus/bus.cc
index 2f1300a25e3fc87f122014df9d3ef5c4f9016281..388911a62112679ab848807ae8dc75c80bb16f97 100644
--- a/dbus/bus.cc
+++ b/dbus/bus.cc
@@ -201,7 +201,7 @@ Bus::Bus(const Options& options)
// The origin message loop is unnecessary if the client uses synchronous
// functions only.
if (base::MessageLoop::current())
- origin_task_runner_ = base::MessageLoop::current()->message_loop_proxy();
+ origin_task_runner_ = base::MessageLoop::current()->task_runner();
}
Bus::~Bus() {
« no previous file with comments | « components/html_viewer/setup.cc ('k') | dbus/bus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698