summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/tools')
-rw-r--r--chrome/tools/profiles/generate_profile.cc3
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.