Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: components/ntp_tiles/most_visited_sites.cc

Issue 2668943002: provide static popular sites for first run (Closed)
Patch Set: Revert test changes. Construction of PopularSites is always safe. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6df20e31c89d74107da78ad0a2a868b7dd370476..d534ee1505f769d3411f4203b0d3266d9cae28e3 100644
--- a/components/ntp_tiles/most_visited_sites.cc
+++ b/components/ntp_tiles/most_visited_sites.cc
@@ -417,9 +417,6 @@ void MostVisitedSites::OnPopularSitesDownloaded(bool success) {
LOG(WARNING) << "Download of popular sites failed";
return;
}
-
- // Re-build the tile list. Once done, this will notify the observer.
- BuildCurrentTiles();
}
void MostVisitedSites::OnIconMadeAvailable(const GURL& site_url,

Powered by Google App Engine
This is Rietveld 408576698