| Index: chromeos/dbus/mock_cryptohome_client.cc
|
| diff --git a/chromeos/dbus/mock_cryptohome_client.cc b/chromeos/dbus/mock_cryptohome_client.cc
|
| index 66fbaa2dac45f03bcf91a446c8b724fc3f0fdf62..0e860d63da28eb7a70eec971e78da8a5f3998c58 100644
|
| --- a/chromeos/dbus/mock_cryptohome_client.cc
|
| +++ b/chromeos/dbus/mock_cryptohome_client.cc
|
| @@ -5,7 +5,9 @@
|
| #include "chromeos/dbus/mock_cryptohome_client.h"
|
|
|
| #include "base/bind.h"
|
| -#include "base/message_loop/message_loop.h"
|
| +#include "base/location.h"
|
| +#include "base/single_thread_task_runner.h"
|
| +#include "base/threading/thread_task_runner_handle.h"
|
|
|
| using ::testing::_;
|
| using ::testing::AnyNumber;
|
| @@ -17,7 +19,7 @@ namespace {
|
|
|
| // Runs callback with true.
|
| void RunCallbackWithTrue(const BoolDBusMethodCallback& callback) {
|
| - base::MessageLoop::current()->PostTask(
|
| + base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true));
|
| }
|
|
|
|
|