Fix crash on app list start page keyboard navigation with <4 apps.
commitf068de8ae383c8a387f60cd30c5a4b578412825a
authorcalamity <calamity@chromium.org>
Fri, 20 Feb 2015 00:56:14 +0000 (19 16:56 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 Feb 2015 00:57:07 +0000 (20 00:57 +0000)
tree7e4106ed53db52c2d619bf4b214b19c4e9686ace
parent06a57e831ec8c749a216849f463481abe30125a8
Fix crash on app list start page keyboard navigation with <4 apps.

This CL fixes a crash which happens when the All Apps button is keyboard
selected with less than 4 apps installed. This happened because there
was an assumption that there would always be at least 4 apps.

BUG=459861

Review URL: https://codereview.chromium.org/937963002

Cr-Commit-Position: refs/heads/master@{#317201}
ui/app_list/views/start_page_view.cc