Chromium Code Reviews| Index: ui/views/widget/widget.cc |
| =================================================================== |
| --- ui/views/widget/widget.cc (revision 140971) |
| +++ ui/views/widget/widget.cc (working copy) |
| @@ -1116,11 +1116,9 @@ |
| // dragging) may explicitly capture. |
| break; |
| - case ui::ET_GESTURE_END: |
| - if (event.delta_x() == 1) { |
| - is_touch_down_ = false; |
| - ReleaseCapture(); |
| - } |
| + case ui::ET_GESTURE_TAP_UP: |
| + is_touch_down_ = false; |
| + ReleaseCapture(); |
| break; |
| default: |