| Index: ui/views/controls/scrollbar/base_scroll_bar.cc
|
| diff --git a/ui/views/controls/scrollbar/base_scroll_bar.cc b/ui/views/controls/scrollbar/base_scroll_bar.cc
|
| index c93f48e2bb540466047de39c048ac3e03eb74de3..3a9d4517d54231cc73adf046e480a5b7534ad03f 100644
|
| --- a/ui/views/controls/scrollbar/base_scroll_bar.cc
|
| +++ b/ui/views/controls/scrollbar/base_scroll_bar.cc
|
| @@ -200,13 +200,9 @@ bool BaseScrollBar::OnMouseWheel(const ui::MouseWheelEvent& event) {
|
|
|
| void BaseScrollBar::OnGestureEvent(ui::GestureEvent* event) {
|
| // If a fling is in progress, then stop the fling for any incoming gesture
|
| - // event (except for the GESTURE_END event that is generated at the end of the
|
| - // fling).
|
| - if (scroll_animator_.get() && scroll_animator_->is_scrolling() &&
|
| - (event->type() != ui::ET_GESTURE_END ||
|
| - event->details().touch_points() > 1)) {
|
| + // event.
|
| + if (scroll_animator_.get() && scroll_animator_->is_scrolling())
|
| scroll_animator_->Stop();
|
| - }
|
|
|
| if (event->type() == ui::ET_GESTURE_TAP_DOWN) {
|
| ProcessPressEvent(*event);
|
|
|