| Index: ui/app_list/views/apps_grid_view.cc
|
| diff --git a/ui/app_list/views/apps_grid_view.cc b/ui/app_list/views/apps_grid_view.cc
|
| index ea4829ab9e60b236adb42a163e290a882c471698..2f088ae233ef7f0af9c6efe87f617ca3cd0d2aca 100644
|
| --- a/ui/app_list/views/apps_grid_view.cc
|
| +++ b/ui/app_list/views/apps_grid_view.cc
|
| @@ -358,6 +358,9 @@ AppsGridView::AppsGridView(AppsGridViewDelegate* delegate,
|
| activated_folder_item_view_(NULL),
|
| dragging_for_reparent_item_(false) {
|
| SetPaintToLayer(true);
|
| + // Clip any icons that are outside the grid view's bounds. These icons would
|
| + // otherwise be visible to the user when the grid view is off screen.
|
| + layer()->SetMasksToBounds(true);
|
| SetFillsBoundsOpaquely(false);
|
|
|
| pagination_model_->AddObserver(this);
|
|
|