summaryrefslogtreecommitdiff
path: root/chromium/components/scheduling_metrics/thread_metrics.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/scheduling_metrics/thread_metrics.cc')
-rw-r--r--chromium/components/scheduling_metrics/thread_metrics.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chromium/components/scheduling_metrics/thread_metrics.cc b/chromium/components/scheduling_metrics/thread_metrics.cc
index f84c100559d..21a7fdd7704 100644
--- a/chromium/components/scheduling_metrics/thread_metrics.cc
+++ b/chromium/components/scheduling_metrics/thread_metrics.cc
@@ -11,8 +11,7 @@ namespace {
// Threshold for discarding ultra-long tasks. It is assumed that ultra-long
// tasks are reporting glitches (e.g. system falling asleep on the middle of the
// task).
-constexpr base::TimeDelta kLongTaskDiscardingThreshold =
- base::TimeDelta::FromSeconds(30);
+constexpr base::TimeDelta kLongTaskDiscardingThreshold = base::Seconds(30);
} // namespace