DescriptionMost Visited: remove over-eager optimization that causes a lot of blank thumbnails
after storing thumbnails in the thread safe cache, we were removing those which are not currently in the top 8. This sucks because then when you blacklist a site, the thumbnail for the replacement is not in the cache, so we use a default image even though the thumbnail is available in the DB. The optimization hardly saves us anything, as the number of cached thumbnails is capped to begin with, and we are only trimming to 8, and it's ref counted data anyway so it's already resident somewhere else in memory either way.
BUG=none
TEST=blacklist a site. Most likely you will get an actual thumbnail for its replacement
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106559
Patch Set 1 #Patch Set 2 : fix test and remove unused function #
Messages
Total messages: 6 (0 generated)
|