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

Unified Diff: third_party/WebKit/Source/core/frame/DOMTimer.cpp

Issue 1799253002: Stricter user gestures for touch - measure and warn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/frame/DOMTimer.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMTimer.cpp b/third_party/WebKit/Source/core/frame/DOMTimer.cpp
index 513d725a2ca72a4721b84fe284276c933ae92c42..523a5b0440b13ffcd52ef5443bfd98fce73042a9 100644
--- a/third_party/WebKit/Source/core/frame/DOMTimer.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMTimer.cpp
@@ -46,7 +46,7 @@ static const double minimumInterval = 0.004;
static inline bool shouldForwardUserGesture(int interval, int nestingLevel)
{
- return UserGestureIndicator::processingUserGesture()
+ return UserGestureIndicator::processingUserGestureUntracked()
&& interval <= maxIntervalForUserGestureForwarding
&& nestingLevel == 1; // Gestures should not be forwarded to nested timers.
}

Powered by Google App Engine
This is Rietveld 408576698