summaryrefslogtreecommitdiffstats
path: root/ash/touch
diff options
context:
space:
mode:
Diffstat (limited to 'ash/touch')
-rw-r--r--ash/touch/touch_uma.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/ash/touch/touch_uma.cc b/ash/touch/touch_uma.cc
index ed66bb2..e929828 100644
--- a/ash/touch/touch_uma.cc
+++ b/ash/touch/touch_uma.cc
@@ -264,7 +264,11 @@ void TouchUMA::RecordGestureEvent(aura::Window* target,
if (event.type() == ui::ET_GESTURE_END &&
event.details().touch_points() == 2) {
WindowTouchDetails* details = target->GetProperty(kWindowTouchDetails);
- CHECK(details) << "Window received gesture but no touch events?";
+ if (!details) {
+ LOG(ERROR) << "Window received gesture events without receiving any touch"
+ " events";
+ return;
+ }
details->last_mt_time_ = event.time_stamp();
}
}