Index: chromeos/dbus/blocking_method_caller.cc |
diff --git a/chromeos/dbus/blocking_method_caller.cc b/chromeos/dbus/blocking_method_caller.cc |
index e4ddac5f1e105579a156f1b6921e63f12b466f9e..22315a5cf021b8a46fa3aedee3bc4a26d5c98887 100644 |
--- a/chromeos/dbus/blocking_method_caller.cc |
+++ b/chromeos/dbus/blocking_method_caller.cc |
@@ -7,6 +7,7 @@ |
#include "base/bind.h" |
#include "base/callback_helpers.h" |
#include "base/location.h" |
+#include "base/task_runner.h" |
#include "base/threading/thread_restrictions.h" |
#include "dbus/bus.h" |
#include "dbus/object_proxy.h" |
@@ -49,7 +50,7 @@ scoped_ptr<dbus::Response> BlockingMethodCaller::CallMethodAndBlock( |
new base::ScopedClosureRunner(signal_task); |
scoped_ptr<dbus::Response> response; |
- bus_->PostTaskToDBusThread( |
+ bus_->GetDBusTaskRunner()->PostTask( |
FROM_HERE, |
base::Bind(&CallMethodAndBlockInternal, |
&response, |