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

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

Issue 2401123002: UserGestureIndicator is a mess. Clean it up. (Closed)
Patch Set: Fix tests 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 8bf41a9b4b1bd44e976362fa41f06fea6b92900f..0a199171249b4b26325cc810a95ce0f834f0144b 100644
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
@@ -136,7 +136,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