Index: ui/base/gestures/gesture_sequence.cc |
diff --git a/ui/base/gestures/gesture_sequence.cc b/ui/base/gestures/gesture_sequence.cc |
index 9892fdce2451038d0c28c843777b5bf695fdaac9..b778bf19ffe988b145b0f88053e7e9d999da6411 100644 |
--- a/ui/base/gestures/gesture_sequence.cc |
+++ b/ui/base/gestures/gesture_sequence.cc |
@@ -235,7 +235,7 @@ GestureSequence::Gestures* GestureSequence::ProcessTouchEventForGesture( |
GesturePoint* new_point = &points_[event.GetTouchId()]; |
// We shouldn't be able to get two PRESSED events from the same |
// finger without either a RELEASE or CANCEL in between. |
- DCHECK(!points_[event.GetTouchId()].in_use()); |
+ DCHECK(!new_point->in_use()); |
new_point->set_point_id(point_count_++); |
new_point->set_touch_id(event.GetTouchId()); |
} |