Index: ui/views/widget/root_view.cc |
diff --git a/ui/views/widget/root_view.cc b/ui/views/widget/root_view.cc |
index 6b6c14b0c1383ed390a9e35e5339a05d9143be25..f10bd5b219f3ce1e438df8797ffb9d1c563b86d6 100644 |
--- a/ui/views/widget/root_view.cc |
+++ b/ui/views/widget/root_view.cc |
@@ -450,7 +450,7 @@ ui::GestureStatus RootView::OnGestureEvent(const GestureEvent& event) { |
View* handler = gesture_handler_; |
GestureEvent handler_event(event, this, gesture_handler_); |
// TODO: should only do this for the last touch id that goes up. |
- if (event.type() == ui::ET_GESTURE_TAP_UP) |
+ if (event.type() == ui::ET_GESTURE_END) |
gesture_handler_ = NULL; |
return handler->OnGestureEvent(handler_event); |
} |