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

Unified Diff: Source/platform/WebScheduler.cpp

Issue 1119683003: Implement requestIdleCallback API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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/RuntimeEnabledFeatures.in ('k') | public/platform/WebScheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/WebScheduler.cpp
diff --git a/Source/platform/WebScheduler.cpp b/Source/platform/WebScheduler.cpp
index 68e5ca7940c586b1f8487b7b87187b962b2b484b..ead873369c22661b047e76fa08fbd9e4302a99cf 100644
--- a/Source/platform/WebScheduler.cpp
+++ b/Source/platform/WebScheduler.cpp
@@ -59,4 +59,9 @@ void WebScheduler::postLoadingTask(const WebTraceLocation& location, PassOwnPtr<
postLoadingTask(location, new blink::Task(task));
}
+void WebScheduler::postTimerTask(const WebTraceLocation& location, PassOwnPtr<Task> task, long long delayMs)
+{
+ postTimerTask(location, new blink::Task(task), delayMs);
+}
+
} // namespace blink
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | public/platform/WebScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698