Fix to not create jumplist icon files that aren't used by shell

The current implementation creates more icon files than necessary. In
more details, it first creates icon files for all the retrieved most
visited pages and recently closed pages. The total number of icon files
created is up to 24. However, only at most 10 icons will be used by the
shell. The extra file IO is completely unnecessary.

This CL fixes this issue by only creating the icon files that are used
by shell.

BUG=40407, 179576

Review-Url: https://codereview.chromium.org/2816113002
Cr-Commit-Position: refs/heads/master@{#465002}
1 file changed