Index: components/ntp_tiles/most_visited_sites.cc |
diff --git a/components/ntp_tiles/most_visited_sites.cc b/components/ntp_tiles/most_visited_sites.cc |
index 4f7c845a6919c83aafb82aaa57673ad309fc1ec6..800ccb422c211f7a925e8f4e913de8598cd15a63 100644 |
--- a/components/ntp_tiles/most_visited_sites.cc |
+++ b/components/ntp_tiles/most_visited_sites.cc |
@@ -419,6 +419,11 @@ void MostVisitedSites::OnPopularSitesDownloaded(bool success) { |
LOG(WARNING) << "Download of popular sites failed"; |
return; |
} |
+ |
+ for (const PopularSites::Site& popular_site : popular_sites_->sites()) { |
+ // Ignore callback; these icons will be seen on the *next* NTP. |
+ icon_cacher_->StartFetch(popular_site, base::Closure(), base::Closure()); |
Marc Treib
2017/03/03 09:40:44
IconCacherImpl DCHECKs that the first closure isn'
fhorschig
2017/03/03 10:27:21
Yes, there is a fix for that:
https://codereview.c
|
+ } |
} |
void MostVisitedSites::OnIconMadeAvailable(const GURL& site_url) { |