Index: third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp |
diff --git a/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp b/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp |
index 5600a25c27bd8ddfb2587ac7e43d83d9c1a8188f..3b31bb1a7647a669bb428285434a68916ce948fa 100644 |
--- a/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp |
+++ b/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp |
@@ -10,6 +10,7 @@ |
#include "bindings/core/v8/WindowProxy.h" |
#include "core/dom/Document.h" |
#include "core/dom/DocumentUserGestureToken.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/frame/LocalFrame.h" |
#include "platform/UserGestureIndicator.h" |
#include "public/platform/WebVector.h" |
@@ -183,7 +184,7 @@ SuspendableScriptExecutor::SuspendableScriptExecutor( |
ScriptState* scriptState, |
WebScriptExecutionCallback* callback, |
Executor* executor) |
- : SuspendableTimer(frame->document()), |
+ : SuspendableTimer(frame->document(), TaskType::Timer), |
m_scriptState(scriptState), |
m_callback(callback), |
m_keepAlive(this), |