Index: third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
index cefc8d3079dba864d9b02f1cfdcc5cc805e2ca43..f3e1edfd727892f4c577ff8b78de903e94773b91 100644 |
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
@@ -17,6 +17,7 @@ |
#include "bindings/core/v8/V8Node.h" |
#include "bindings/core/v8/V8NodeList.h" |
#include "bindings/core/v8/V8ScriptRunner.h" |
+#include "core/dom/DocumentUserGestureToken.h" |
#include "core/inspector/ConsoleMessage.h" |
#include "core/inspector/InspectorDOMDebuggerAgent.h" |
#include "core/inspector/InspectorTraceEvents.h" |
@@ -136,8 +137,8 @@ void ThreadDebugger::promiseRejectionRevoked(v8::Local<v8::Context> context, |
} |
void ThreadDebugger::beginUserGesture() { |
- m_userGestureIndicator = |
- wrapUnique(new UserGestureIndicator(UserGestureToken::create())); |
+ m_userGestureIndicator = wrapUnique( |
+ new UserGestureIndicator(DocumentUserGestureToken::create(nullptr))); |
} |
void ThreadDebugger::endUserGesture() { |