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 31bf39faf0d07aafc5bda77f5759db70042d55d2..025cc43c9f2f8090309353470cd7cd815595bc3c 100644 |
--- a/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp |
+++ b/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp |
@@ -35,12 +35,11 @@ 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)), |
SuspendableObject(context), |
m_nextFireInterval(kNextFireIntervalInvalid), |
- m_repeatInterval(0) |
-{ |
+ m_repeatInterval(0) { |
DCHECK(context); |
} |