Chromium Code Reviews| 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..99469ab3fc506ddb40cd7eb1d8b4d2b2e1875b74 100644 |
| --- a/chrome/test/base/testing_profile.cc |
| +++ b/chrome/test/base/testing_profile.cc |
| @@ -530,7 +530,8 @@ 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), |
|
sdefresne
2014/08/04 08:47:19
Pass the Profile* as an additional parameter.
|
| + profile->GetTopSites()); |
| } |
| void TestingProfile::CreateBookmarkModel(bool delete_file) { |