| Index: chrome/browser/chromeos/system/automatic_reboot_manager.cc
|
| diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager.cc b/chrome/browser/chromeos/system/automatic_reboot_manager.cc
|
| index 89f1004eaf901781c7175d65aa4dd3bd81b1f446..5d862c1975adad2dbc51e695542f81169e61e2bc 100644
|
| --- a/chrome/browser/chromeos/system/automatic_reboot_manager.cc
|
| +++ b/chrome/browser/chromeos/system/automatic_reboot_manager.cc
|
| @@ -26,7 +26,6 @@
|
| #include "base/posix/eintr_wrapper.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/strings/string_number_conversions.h"
|
| -#include "base/task_scheduler/post_task.h"
|
| #include "base/threading/sequenced_worker_pool.h"
|
| #include "base/threading/thread_restrictions.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| @@ -236,13 +235,8 @@
|
| return;
|
| }
|
|
|
| - base::PostTaskWithTraits(
|
| - FROM_HERE,
|
| - base::TaskTraits()
|
| - .WithPriority(base::TaskPriority::BACKGROUND)
|
| - .WithShutdownBehavior(base::TaskShutdownBehavior::BLOCK_SHUTDOWN)
|
| - .MayBlock(),
|
| - base::Bind(&SaveUpdateRebootNeededUptime));
|
| + content::BrowserThread::PostBlockingPoolTask(
|
| + FROM_HERE, base::Bind(&SaveUpdateRebootNeededUptime));
|
|
|
| update_reboot_needed_time_ = clock_->NowTicks();
|
| have_update_reboot_needed_time_ = true;
|
|
|