Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(737)

Unified Diff: components/scheduler/base/time_domain.cc

Issue 1898233002: Report expected task queueing time via UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove export. Fix windows. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/scheduler/base/time_domain.h ('k') | components/scheduler/base/time_domain_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/base/time_domain.cc
diff --git a/components/scheduler/base/time_domain.cc b/components/scheduler/base/time_domain.cc
index 61851c533ea81f7c48e16f0dfd0a11c4f6e6fe29..510ad7964baadf8824d41fb02044a9e07d71c1f1 100644
--- a/components/scheduler/base/time_domain.cc
+++ b/components/scheduler/base/time_domain.cc
@@ -110,9 +110,9 @@ void TimeDomain::UnregisterAsUpdatableTaskQueue(
void TimeDomain::UpdateWorkQueues(
bool should_trigger_wakeup,
- const internal::TaskQueueImpl::Task* previous_task) {
+ const internal::TaskQueueImpl::Task* previous_task,
+ LazyNow lazy_now) {
DCHECK(main_thread_checker_.CalledOnValidThread());
- LazyNow lazy_now(CreateLazyNow());
// Move any ready delayed tasks into the Incoming queues.
WakeupReadyDelayedQueues(&lazy_now, should_trigger_wakeup, previous_task);
« no previous file with comments | « components/scheduler/base/time_domain.h ('k') | components/scheduler/base/time_domain_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698