| Index: chrome/browser/chromeos/boot_times_recorder.cc
|
| diff --git a/chrome/browser/chromeos/boot_times_recorder.cc b/chrome/browser/chromeos/boot_times_recorder.cc
|
| index 55a826d97e0af93abc4a11240545a457e5a95403..060e8e0d27c75777106f52ad476e384104a6c10a 100644
|
| --- a/chrome/browser/chromeos/boot_times_recorder.cc
|
| +++ b/chrome/browser/chromeos/boot_times_recorder.cc
|
| @@ -211,8 +211,7 @@ bool BootTimesRecorder::Stats::UptimeDouble(double* result) const {
|
|
|
| void BootTimesRecorder::Stats::RecordStats(const std::string& name) const {
|
| base::PostTaskWithTraits(
|
| - FROM_HERE, base::TaskTraits().MayBlock().WithPriority(
|
| - base::TaskPriority::BACKGROUND),
|
| + FROM_HERE, {base::MayBlock(), base::TaskPriority::BACKGROUND},
|
| base::Bind(&BootTimesRecorder::Stats::RecordStatsAsync,
|
| base::Owned(new Stats(*this)), name));
|
| }
|
| @@ -221,8 +220,7 @@ void BootTimesRecorder::Stats::RecordStatsWithCallback(
|
| const std::string& name,
|
| const base::Closure& callback) const {
|
| base::PostTaskWithTraitsAndReply(
|
| - FROM_HERE, base::TaskTraits().MayBlock().WithPriority(
|
| - base::TaskPriority::BACKGROUND),
|
| + FROM_HERE, {base::MayBlock(), base::TaskPriority::BACKGROUND},
|
| base::Bind(&BootTimesRecorder::Stats::RecordStatsAsync,
|
| base::Owned(new Stats(*this)), name),
|
| callback);
|
|
|