Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index fb57628d63179608661aae4ee8e03d075fe58fe0..e28225f9f5fdad179786f7f9ac95b4c902f6e597 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -530,7 +530,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) { |