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 0bb79ca755973c0b40399e3f03438136258be73b..e82bc7444530affda32e9db61b3824a6da4bb777 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" |
@@ -178,7 +179,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), |