[NTP] Fix max number of shortcuts error for grid layout
If the page was loaded with Most Visited shortcuts, the maximum number of shortcuts was set to 8. This was not updated if users swapped to custom links, so an error was thrown. Do update the maximum number of shortcuts, and remove the error since we can ignore any shortcuts over the max. Change-Id: I95e3941ed2c9f2b266075edad7f8a60bddddd93d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1793230 Commit-Queue: Kristi Park <kristipark@chromium.org> Reviewed-by:Kyle Milka <kmilka@chromium.org> Cr-Commit-Position: refs/heads/master@{#695403}
Showing
Please register or sign in to comment