| 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 1040bc1f7d7783bb3d66372d42f21dfd195ea628..75d03ff9410f3531e2682d06eac232d589cc41f2 100644
|
| --- a/chrome/browser/android/ntp/most_visited_sites_bridge.cc
|
| +++ b/chrome/browser/android/ntp/most_visited_sites_bridge.cc
|
| @@ -157,14 +157,17 @@ void MostVisitedSitesBridge::JavaObserver::OnPopularURLsAvailable(
|
|
|
| MostVisitedSitesBridge::MostVisitedSitesBridge(Profile* profile)
|
| : supervisor_(profile),
|
| + popular_sites_(BrowserThread::GetBlockingPool(),
|
| + profile->GetPrefs(),
|
| + TemplateURLServiceFactory::GetForProfile(profile),
|
| + g_browser_process->variations_service(),
|
| + profile->GetRequestContext(),
|
| + ChromePopularSites::GetDirectory()),
|
| most_visited_(BrowserThread::GetBlockingPool(),
|
| profile->GetPrefs(),
|
| - TemplateURLServiceFactory::GetForProfile(profile),
|
| - g_browser_process->variations_service(),
|
| - profile->GetRequestContext(),
|
| - ChromePopularSites::GetDirectory(),
|
| TopSitesFactory::GetForProfile(profile),
|
| SuggestionsServiceFactory::GetForProfile(profile),
|
| + &popular_sites_,
|
| &supervisor_) {
|
| // Register the thumbnails debugging page.
|
| // TODO(sfiera): find thumbnails a home. They don't belong here.
|
|
|