Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 7aede511fc9e3fff3b7c812e33c4eab4f72feda3..7bb697540742526c092205325598407020753430 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -536,7 +536,9 @@ static KeyedService* BuildChromeBookmarkClient( |
static KeyedService* BuildChromeHistoryClient( |
content::BrowserContext* context) { |
Profile* profile = static_cast<Profile*>(context); |
- return new ChromeHistoryClient(BookmarkModelFactory::GetForProfile(profile)); |
+ return new ChromeHistoryClient(BookmarkModelFactory::GetForProfile(profile), |
+ profile, |
+ profile->GetTopSites()); |
} |
void TestingProfile::CreateBookmarkModel(bool delete_file) { |