summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-21 03:24:49 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-21 03:24:49 +0000
commit2ec53b5e7018ed63499e0a4fab557f820b03fc53 (patch)
tree3a38d3a7c52cf844cd1d1cf5867e1af18330397e /chrome/browser/tab_contents
parent18d4b6cecb490ffa3dcb53cfad7ca0ad695217c4 (diff)
downloadchromium_src-2ec53b5e7018ed63499e0a4fab557f820b03fc53.zip
chromium_src-2ec53b5e7018ed63499e0a4fab557f820b03fc53.tar.gz
chromium_src-2ec53b5e7018ed63499e0a4fab557f820b03fc53.tar.bz2
Disables top sites until we get it in a better shape.
BUG=40313 TEST=see bug. aocampo has some test cases too. Review URL: http://codereview.chromium.org/3412015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/tab_contents.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 1d702bd..d40b99d 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -2560,7 +2560,7 @@ void TabContents::UpdateThumbnail(const GURL& url,
const SkBitmap& bitmap,
const ThumbnailScore& score) {
// Tell History about this thumbnail
- if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoTopSites)) {
+ if (history::TopSites::IsEnabled()) {
if (!profile()->IsOffTheRecord())
profile()->GetTopSites()->SetPageThumbnail(url, bitmap, score);
} else {