| 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 22b7fd97237393262ff49957a89cb5a1965b46b7..7219ba255e5a8bed5fb8afe1f7c26fe40fbe002e 100644
|
| --- a/ui/app_list/views/apps_grid_view.cc
|
| +++ b/ui/app_list/views/apps_grid_view.cc
|
| @@ -1183,6 +1183,11 @@ void AppsGridView::MoveSelected(int page_delta,
|
| }
|
|
|
| void AppsGridView::CalculateIdealBounds() {
|
| + // TODO(calamity): This fixes http://crbug.com/422604 on ChromeOS but it's
|
| + // unclear why. This should be investigated to fix the issue on Linux Ash.
|
| + if (GetContentsBounds().IsEmpty())
|
| + return;
|
| +
|
| gfx::Size grid_size = GetTileGridSize();
|
|
|
| // Page size including padding pixels. A tile.x + page_width means the same
|
|
|