Index: chrome/tools/profiles/generate_profile.cc |
diff --git a/chrome/tools/profiles/generate_profile.cc b/chrome/tools/profiles/generate_profile.cc |
index 9bf4b838f3534683e05aec694c1035a2dc6f0dc2..445d8bb1eeced4d9566ef4774eb3bf27182d9ce0 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. |