| Index: components/policy/core/browser/configuration_policy_pref_store.cc
|
| diff --git a/components/policy/core/browser/configuration_policy_pref_store.cc b/components/policy/core/browser/configuration_policy_pref_store.cc
|
| index 0c720ff107285756181ea89be92feb713d49abc2..dc62a70a2f43fc158e71dc5de915e079a4934583 100644
|
| --- a/components/policy/core/browser/configuration_policy_pref_store.cc
|
| +++ b/components/policy/core/browser/configuration_policy_pref_store.cc
|
| @@ -8,11 +8,13 @@
|
| #include <vector>
|
|
|
| #include "base/bind.h"
|
| +#include "base/location.h"
|
| #include "base/logging.h"
|
| -#include "base/message_loop/message_loop.h"
|
| #include "base/prefs/pref_value_map.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/strings/string16.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "components/policy/core/browser/configuration_policy_handler_list.h"
|
| #include "components/policy/core/browser/policy_error_map.h"
|
|
|
| @@ -124,7 +126,7 @@ PrefValueMap* ConfigurationPolicyPrefStore::CreatePreferencesFromPolicies() {
|
|
|
| // Retrieve and log the errors once the UI loop is ready. This is only an
|
| // issue during startup.
|
| - base::MessageLoop::current()->PostTask(
|
| + base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| FROM_HERE, base::Bind(&LogErrors, base::Owned(errors.release())));
|
|
|
| return prefs.release();
|
|
|