| Index: chrome/browser/chromeos/settings/device_settings_service.cc
|
| diff --git a/chrome/browser/chromeos/settings/device_settings_service.cc b/chrome/browser/chromeos/settings/device_settings_service.cc
|
| index 765e011d4ba65907ee7a908b49297a434af1e0f3..993729b2ec54a8d76af1fd83b20baa857d9b0473 100644
|
| --- a/chrome/browser/chromeos/settings/device_settings_service.cc
|
| +++ b/chrome/browser/chromeos/settings/device_settings_service.cc
|
| @@ -7,9 +7,11 @@
|
| #include <utility>
|
|
|
| #include "base/bind.h"
|
| +#include "base/location.h"
|
| #include "base/logging.h"
|
| -#include "base/message_loop/message_loop.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/stl_util.h"
|
| +#include "base/threading/thread_task_runner_handle.h"
|
| #include "base/time/time.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h"
|
| @@ -135,7 +137,7 @@ void DeviceSettingsService::GetOwnershipStatusAsync(
|
| const OwnershipStatusCallback& callback) {
|
| if (public_key_.get()) {
|
| // If there is a key, report status immediately.
|
| - base::MessageLoop::current()->PostTask(
|
| + base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| FROM_HERE, base::Bind(callback, GetOwnershipStatus()));
|
| } else {
|
| // If the key hasn't been loaded yet, enqueue the callback to be fired when
|
|
|