Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Unified Diff: third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp

Issue 2401123002: UserGestureIndicator is a mess. Clean it up. (Closed)
Patch Set: Callback cleanup, comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 5eddf5d17196531989fe5ba6db5ca1b43fb27d0b..cefc8d3079dba864d9b02f1cfdcc5cc805e2ca43 100644
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
@@ -137,7 +137,7 @@ void ThreadDebugger::promiseRejectionRevoked(v8::Local<v8::Context> context,
void ThreadDebugger::beginUserGesture() {
m_userGestureIndicator =
- wrapUnique(new UserGestureIndicator(DefinitelyProcessingNewUserGesture));
+ wrapUnique(new UserGestureIndicator(UserGestureToken::create()));
}
void ThreadDebugger::endUserGesture() {

Powered by Google App Engine
This is Rietveld 408576698