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 b73ef97f6fc17f709294ad75ade597e2cbf53bf3..abc68d3458f32c57ca5953f2e86910d374677c88 100644 |
--- a/chrome/browser/tab_contents/tab_contents.cc |
+++ b/chrome/browser/tab_contents/tab_contents.cc |
@@ -2715,16 +2715,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, |