| 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..73d7e2e7fc6ee30f9c8d9ffdd437d6bb46cc988e 100644
|
| --- a/chrome/browser/chromeos/system/automatic_reboot_manager.cc
|
| +++ b/chrome/browser/chromeos/system/automatic_reboot_manager.cc
|
| @@ -236,13 +236,10 @@ void AutomaticRebootManager::UpdateStatusChanged(
|
| return;
|
| }
|
|
|
| - base::PostTaskWithTraits(
|
| - FROM_HERE,
|
| - base::TaskTraits()
|
| - .WithPriority(base::TaskPriority::BACKGROUND)
|
| - .WithShutdownBehavior(base::TaskShutdownBehavior::BLOCK_SHUTDOWN)
|
| - .MayBlock(),
|
| - base::Bind(&SaveUpdateRebootNeededUptime));
|
| + base::PostTaskWithTraits(FROM_HERE,
|
| + {base::MayBlock(), base::TaskPriority::BACKGROUND,
|
| + base::TaskShutdownBehavior::BLOCK_SHUTDOWN},
|
| + base::Bind(&SaveUpdateRebootNeededUptime));
|
|
|
| update_reboot_needed_time_ = clock_->NowTicks();
|
| have_update_reboot_needed_time_ = true;
|
|
|