| Index: ui/views/controls/scroll_view.cc
|
| diff --git a/ui/views/controls/scroll_view.cc b/ui/views/controls/scroll_view.cc
|
| index e20f396825a8078884a71d0622284c97a901c649..9204d26170171a285cf0309e6df0cb658e255243 100644
|
| --- a/ui/views/controls/scroll_view.cc
|
| +++ b/ui/views/controls/scroll_view.cc
|
| @@ -374,11 +374,13 @@ void ScrollView::OnGestureEvent(ui::GestureEvent* event) {
|
| event->type() == ui::ET_SCROLL_FLING_START;
|
|
|
| if (vert_sb_->visible()) {
|
| - if (vert_sb_->bounds().Contains(event->location()) || scroll_event)
|
| + if (vert_sb_->bounds().Contains(gfx::ToFlooredPoint(event->location())) ||
|
| + scroll_event)
|
| vert_sb_->OnGestureEvent(event);
|
| }
|
| if (!event->handled() && horiz_sb_->visible()) {
|
| - if (horiz_sb_->bounds().Contains(event->location()) || scroll_event)
|
| + if (horiz_sb_->bounds().Contains(gfx::ToFlooredPoint(event->location())) ||
|
| + scroll_event)
|
| horiz_sb_->OnGestureEvent(event);
|
| }
|
| }
|
|
|