| Index: chrome/browser/android/ntp/most_visited_sites_bridge.cc
|
| diff --git a/chrome/browser/android/ntp/most_visited_sites_bridge.cc b/chrome/browser/android/ntp/most_visited_sites_bridge.cc
|
| index b606586073708ef5dba7298e42882f8918b9e1ab..a6562a3966cccc7811638fe35fcf763d61348594 100644
|
| --- a/chrome/browser/android/ntp/most_visited_sites_bridge.cc
|
| +++ b/chrome/browser/android/ntp/most_visited_sites_bridge.cc
|
| @@ -108,14 +108,15 @@ void MostVisitedSitesBridge::Observer::OnPopularURLsAvailable(
|
| }
|
|
|
| MostVisitedSitesBridge::MostVisitedSitesBridge(Profile* profile)
|
| - : most_visited_(profile->GetPrefs(),
|
| + : supervisor_(profile),
|
| + most_visited_(profile->GetPrefs(),
|
| TemplateURLServiceFactory::GetForProfile(profile),
|
| g_browser_process->variations_service(),
|
| profile->GetRequestContext(),
|
| TopSitesFactory::GetForProfile(profile),
|
| SuggestionsServiceFactory::GetForProfile(profile),
|
| profile->IsChild(),
|
| - profile) {
|
| + &supervisor_) {
|
| // Register the thumbnails debugging page.
|
| // TODO(sfiera): find thumbnails a home. They don't belong here.
|
| content::URLDataSource::Add(profile, new ThumbnailListSource(profile));
|
|
|