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

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

Issue 2658573011: scheduler: Make DOM window event tasks unthrottled (Closed)
Patch Set: Created 3 years, 11 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/SuspendableTimer.cpp
diff --git a/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp b/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp
index 825ebd68fbd5ace783189ec6c0e186e64aaf126b..a98d9ef676cb4bdeb4028c003f224fb55dcb7f67 100644
--- a/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp
+++ b/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp
@@ -35,8 +35,8 @@ namespace {
const double kNextFireIntervalInvalid = -1.0;
}
-SuspendableTimer::SuspendableTimer(ExecutionContext* context)
- : TimerBase(TaskRunnerHelper::get(TaskType::Timer, context)),
+SuspendableTimer::SuspendableTimer(ExecutionContext* context, TaskType taskType)
+ : TimerBase(TaskRunnerHelper::get(taskType, context)),
ActiveDOMObject(context),
m_nextFireInterval(kNextFireIntervalInvalid),
m_repeatInterval(0)
« no previous file with comments | « third_party/WebKit/Source/core/frame/SuspendableTimer.h ('k') | third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698