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

Unified Diff: chrome/browser/history/top_sites.cc

Issue 8355031: Most Visited: remove over-eager optimization that causes a lot of blank thumbnails (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test and remove unused function Created 9 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/history/top_sites_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/top_sites.cc
diff --git a/chrome/browser/history/top_sites.cc b/chrome/browser/history/top_sites.cc
index f85d1d8c40cc0ddeedebd870e8c4073d97dfd34f..2bea2d3e3bd86ad0773a304495df5ad810b2e07a 100644
--- a/chrome/browser/history/top_sites.cc
+++ b/chrome/browser/history/top_sites.cc
@@ -948,7 +948,6 @@ void TopSites::ResetThreadSafeCache() {
void TopSites::ResetThreadSafeImageCache() {
base::AutoLock lock(lock_);
thread_safe_cache_->SetThumbnails(cache_->images());
- thread_safe_cache_->RemoveUnreferencedThumbnails();
}
void TopSites::NotifyTopSitesChanged() {
« no previous file with comments | « no previous file | chrome/browser/history/top_sites_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698