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

Unified Diff: ui/events/gesture_detection/gesture_provider.cc

Issue 249613002: [DevTools] Interactive test for DevTools touch emulation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DCHECK Created 6 years, 8 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
« no previous file with comments | « content/browser/renderer_host/input/touch_emulator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gesture_detection/gesture_provider.cc
diff --git a/ui/events/gesture_detection/gesture_provider.cc b/ui/events/gesture_detection/gesture_provider.cc
index 84fb854aec78d5669059458c118a6033579ba76b..d492215f542bb4b8942d6a05dcd165743faed2af 100644
--- a/ui/events/gesture_detection/gesture_provider.cc
+++ b/ui/events/gesture_detection/gesture_provider.cc
@@ -522,6 +522,7 @@ bool GestureProvider::OnTouchEvent(const MotionEvent& event) {
"action", GetMotionEventActionName(event.GetAction()));
DCHECK_NE(0u, event.GetPointerCount());
+ DCHECK(event.GetEventTime() != base::TimeTicks());
jdduke (slow) 2014/04/24 14:52:39 Of course, yeah |DCHECK(!event.GetEventTime().is_n
if (!CanHandle(event))
return false;
« no previous file with comments | « content/browser/renderer_host/input/touch_emulator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698