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

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

Issue 1743813002: Revert of [cherrypick] Fix computation of runtime for throttled tasks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
Patch Set: Created 4 years, 10 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: components/scheduler/base/virtual_time_domain.cc
diff --git a/components/scheduler/base/virtual_time_domain.cc b/components/scheduler/base/virtual_time_domain.cc
index 97c63da5cdaba218d07f2acd5e69ca7d36ff2cab..0abea9493c342d8a478fa69a2477a442d573070d 100644
--- a/components/scheduler/base/virtual_time_domain.cc
+++ b/components/scheduler/base/virtual_time_domain.cc
@@ -26,12 +26,6 @@
LazyNow VirtualTimeDomain::CreateLazyNow() {
base::AutoLock lock(lock_);
return LazyNow(now_);
-}
-
-base::TimeTicks VirtualTimeDomain::ComputeDelayedRunTime(
- base::TimeTicks time_domain_now,
- base::TimeDelta delay) const {
- return time_domain_now + delay;
}
void VirtualTimeDomain::RequestWakeup(LazyNow* lazy_now,
« no previous file with comments | « components/scheduler/base/virtual_time_domain.h ('k') | components/scheduler/renderer/throttled_time_domain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698