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

Unified Diff: public/platform/WebScheduler.h

Issue 1261993006: Fix the drift in repeating timers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed tests Created 5 years, 4 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 | « Source/platform/TimerTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebScheduler.h
diff --git a/public/platform/WebScheduler.h b/public/platform/WebScheduler.h
index 80e4e156c768635ff284d71731b280b92d2e4623..b5199c69a124d98154c56cfebaf9c23d3af0240e 100644
--- a/public/platform/WebScheduler.h
+++ b/public/platform/WebScheduler.h
@@ -66,7 +66,7 @@ public:
// tasks usually have the default priority, but may be delayed
// when the user is interacting with the device.
// Takes ownership of |WebThread::Task|. Can be called from any thread.
- virtual void postTimerTask(const WebTraceLocation&, WebThread::Task*, long long delayMs) {}
+ virtual void postTimerTask(const WebTraceLocation&, WebThread::Task*, double delaySecs) {}
// Schedule a timer task to be run on the the associated WebThread. Timer Tasks
// tasks usually have the default priority, but may be delayed
« no previous file with comments | « Source/platform/TimerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698