diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-18 08:32:07 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-18 08:32:07 +0000 |
commit | 54097492f68c8ccfaeb168487dcad00d698d30ec (patch) | |
tree | 9a9963f316fe3f554668ba0ac6db0a06562bd32d /chrome/tools | |
parent | 6c960ac120f82c9fef0b619cac73cf0c04120800 (diff) | |
download | chromium_src-54097492f68c8ccfaeb168487dcad00d698d30ec.zip chromium_src-54097492f68c8ccfaeb168487dcad00d698d30ec.tar.gz chromium_src-54097492f68c8ccfaeb168487dcad00d698d30ec.tar.bz2 |
Remove TopSites::IsEnabled() as well as related dead code.
TopSites has been enabed since r64072. It's now time to remove
the dead code.
BUG=69492
TEST=Make sure thumbnails are correctly updated as before. try bots.
Review URL: http://codereview.chromium.org/6283001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rw-r--r-- | chrome/tools/profiles/generate_profile.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/tools/profiles/generate_profile.cc b/chrome/tools/profiles/generate_profile.cc index 9bf4b83..445d8bb 100644 --- a/chrome/tools/profiles/generate_profile.cc +++ b/chrome/tools/profiles/generate_profile.cc @@ -139,8 +139,7 @@ void InsertURLBatch(Profile* profile, GURL previous_url; PageTransition::Type transition = PageTransition::TYPED; const int end_page_id = page_id + batch_size; - history::TopSites* top_sites = - history::TopSites::IsEnabled() ? profile->GetTopSites() : NULL; + history::TopSites* top_sites = profile->GetTopSites(); for (; page_id < end_page_id; ++page_id) { // Randomly decide whether this new URL simulates following a link or // whether it's a jump to a new URL. |