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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/time_domain.cc

Issue 2644553002: Refactor TimeDomain::MaybeAdvanceTime in preparation for DoWork deduping (Closed)
Patch Set: Rebased Created 3 years, 11 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
Index: third_party/WebKit/Source/platform/scheduler/base/time_domain.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/base/time_domain.cc b/third_party/WebKit/Source/platform/scheduler/base/time_domain.cc
index 25d0caff0b9dbd0306f3bf0c44fbd742c3c483db..e55d7feb3e80b4eae941e533a53abe929b41d265 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/time_domain.cc
+++ b/third_party/WebKit/Source/platform/scheduler/base/time_domain.cc
@@ -117,11 +117,11 @@ void TimeDomain::OnQueueHasIncomingImmediateWork(
observer_->OnTimeDomainHasImmediateWork(queue);
}
-void TimeDomain::UpdateWorkQueues(LazyNow lazy_now) {
+void TimeDomain::UpdateWorkQueues(LazyNow* lazy_now) {
DCHECK(main_thread_checker_.CalledOnValidThread());
// Move any ready delayed tasks into the Incoming queues.
- WakeupReadyDelayedQueues(&lazy_now);
+ WakeupReadyDelayedQueues(lazy_now);
std::set<internal::TaskQueueImpl*> queues_to_reload_if_empty;

Powered by Google App Engine
This is Rietveld 408576698