| Index: chrome/browser/history/chrome_history_client_factory.cc
|
| diff --git a/chrome/browser/history/chrome_history_client_factory.cc b/chrome/browser/history/chrome_history_client_factory.cc
|
| index b56a89871228b865c53057e5431467bb56d504e6..8a703277d83cb73aecd0fce52bbbe31d22b8adbc 100644
|
| --- a/chrome/browser/history/chrome_history_client_factory.cc
|
| +++ b/chrome/browser/history/chrome_history_client_factory.cc
|
| @@ -36,7 +36,9 @@ ChromeHistoryClientFactory::~ChromeHistoryClientFactory() {
|
| KeyedService* ChromeHistoryClientFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| return new ChromeHistoryClient(
|
| - BookmarkModelFactory::GetForProfile(static_cast<Profile*>(context)));
|
| + BookmarkModelFactory::GetForProfile(static_cast<Profile*>(context)),
|
| + static_cast<Profile*>(context),
|
| + static_cast<Profile*>(context)->GetTopSites());
|
| }
|
|
|
| content::BrowserContext* ChromeHistoryClientFactory::GetBrowserContextToUse(
|
|
|