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

Unified Diff: components/scheduler/child/web_task_runner_impl.cc

Issue 2155143002: Fix a bug that could occasionaly cause setInterval to stop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: components/scheduler/child/web_task_runner_impl.cc
diff --git a/components/scheduler/child/web_task_runner_impl.cc b/components/scheduler/child/web_task_runner_impl.cc
index d04af7f8ca15b83f492c7f98b6267b9a1e66c44f..df02684b485af7946c60734d59ccbe54e71645ea 100644
--- a/components/scheduler/child/web_task_runner_impl.cc
+++ b/components/scheduler/child/web_task_runner_impl.cc
@@ -53,7 +53,7 @@ base::TimeTicks WebTaskRunnerImpl::Now() const {
// TimeDomain. If that happens just return the current real time.
if (!time_domain)
return base::TimeTicks::Now();
- return time_domain->Now();
+ return time_domain->BlinkNow();
}
blink::WebTaskRunner* WebTaskRunnerImpl::clone() {

Powered by Google App Engine
This is Rietveld 408576698