Index: chrome/browser/tab_contents/tab_contents.cc |
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc |
index 563279e72dd89e51a4664748d8cdefdec71d1c97..e0b178c0b6db6d6b9cbbe5e75907db70a3256841 100644 |
--- a/chrome/browser/tab_contents/tab_contents.cc |
+++ b/chrome/browser/tab_contents/tab_contents.cc |
@@ -2700,16 +2700,9 @@ void TabContents::UpdateThumbnail(const GURL& url, |
return; |
// Tell History about this thumbnail |
- if (history::TopSites::IsEnabled()) { |
- history::TopSites* ts = profile()->GetTopSites(); |
- if (ts) |
- ts->SetPageThumbnail(url, bitmap, score); |
- } else { |
- HistoryService* hs = |
- profile()->GetHistoryService(Profile::IMPLICIT_ACCESS); |
- if (hs) |
- hs->SetPageThumbnail(url, bitmap, score); |
- } |
+ history::TopSites* ts = profile()->GetTopSites(); |
+ if (ts) |
+ ts->SetPageThumbnail(url, bitmap, score); |
} |
void TabContents::UpdateInspectorSetting(const std::string& key, |