| Index: ui/events/gesture_detection/motion_event_generic.cc
|
| diff --git a/ui/events/gesture_detection/motion_event_generic.cc b/ui/events/gesture_detection/motion_event_generic.cc
|
| index 19262aa6e95dcc411beab127d95fd1d069bbd84a..db6eb572d4f3804d75889d24f1da3a1f1141af40 100644
|
| --- a/ui/events/gesture_detection/motion_event_generic.cc
|
| +++ b/ui/events/gesture_detection/motion_event_generic.cc
|
| @@ -79,7 +79,7 @@ MotionEvent::Action MotionEventGeneric::GetAction() const {
|
| }
|
|
|
| int MotionEventGeneric::GetActionIndex() const {
|
| - DCHECK(action_ == ACTION_POINTER_DOWN || action_ == ACTION_POINTER_UP);
|
| + DCHECK(action_ != ACTION_DOWN && action_ != ACTION_UP);
|
| DCHECK_GE(action_index_, 0);
|
| DCHECK_LT(action_index_, static_cast<int>(pointers_->size()));
|
| return action_index_;
|
|
|