| Index: ui/app_list/contents_view.cc
|
| diff --git a/ui/app_list/contents_view.cc b/ui/app_list/contents_view.cc
|
| index 6d9a2e86af432af3cee5d3d30c564179e06c2b58..28ab70697f8b0255532465073e8900232002b01d 100644
|
| --- a/ui/app_list/contents_view.cc
|
| +++ b/ui/app_list/contents_view.cc
|
| @@ -219,18 +219,18 @@ void ContentsView::OnGestureEvent(ui::GestureEvent* event) {
|
| }
|
| }
|
|
|
| -ui::EventResult ContentsView::OnScrollEvent(ui::ScrollEvent* event) {
|
| +void ContentsView::OnScrollEvent(ui::ScrollEvent* event) {
|
| if (show_state_ != SHOW_APPS ||
|
| event->type() == ui::ET_SCROLL_FLING_CANCEL ||
|
| abs(event->x_offset()) < kMinScrollToSwitchPage) {
|
| - return ui::ER_UNHANDLED;
|
| + return;
|
| }
|
|
|
| if (!pagination_model_->has_transition()) {
|
| pagination_model_->SelectPageRelative(event->x_offset() > 0 ? -1 : 1,
|
| true);
|
| }
|
| - return ui::ER_HANDLED;
|
| + event->SetHandled();
|
| }
|
|
|
| } // namespace app_list
|
|
|