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

Unified Diff: third_party/WebKit/Source/core/frame/DOMTimer.cpp

Issue 1340343003: scheduler: Implement WebFrameScheduler and WebPageScheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased + fixed gn build. Created 5 years, 3 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/core/frame/DOMTimer.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMTimer.cpp b/third_party/WebKit/Source/core/frame/DOMTimer.cpp
index 71e37c49262b1b552cec4b7c0d82d55cb9697ea7..48ae89899748a173dcb65dbccbe35c38a8ea4390 100644
--- a/third_party/WebKit/Source/core/frame/DOMTimer.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMTimer.cpp
@@ -200,6 +200,11 @@ double DOMTimer::alignedFireTime(double fireTime) const
return fireTime;
}
+WebTaskRunner* DOMTimer::timerTaskRunner()
+{
+ return executionContext()->timers()->timerTaskRunner();
+}
+
DEFINE_TRACE(DOMTimer)
{
visitor->trace(m_action);
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMTimer.h ('k') | third_party/WebKit/Source/core/frame/DOMTimerCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698