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 fc863ba3e1777abf61521457760dd850ce7b247b..e38ac74e6489aa12c3e4eb579ca5f997bd5976ab 100644 |
--- a/third_party/WebKit/Source/core/frame/DOMTimer.cpp |
+++ b/third_party/WebKit/Source/core/frame/DOMTimer.cpp |
@@ -27,6 +27,7 @@ |
#include "core/frame/DOMTimer.h" |
#include "core/dom/ExecutionContext.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/frame/PerformanceMonitor.h" |
#include "core/inspector/InspectorInstrumentation.h" |
#include "core/inspector/InspectorTraceEvents.h" |
@@ -85,7 +86,7 @@ DOMTimer::DOMTimer(ExecutionContext* context, |
int interval, |
bool singleShot, |
int timeoutID) |
- : SuspendableTimer(context), |
+ : SuspendableTimer(context, TaskType::Timer), |
m_timeoutID(timeoutID), |
m_nestingLevel(context->timers()->timerNestingLevel() + 1), |
m_action(action) { |