| Index: chrome/browser/ui/webui/popular_sites_internals_message_handler.cc
|
| diff --git a/chrome/browser/ui/webui/popular_sites_internals_message_handler.cc b/chrome/browser/ui/webui/popular_sites_internals_message_handler.cc
|
| index af8dab1a7ce36e9d265caf208bb912ebcba1ceb7..55db0a3dd7bc6b2bf56cc9dd8c3a98418498b2f2 100644
|
| --- a/chrome/browser/ui/webui/popular_sites_internals_message_handler.cc
|
| +++ b/chrome/browser/ui/webui/popular_sites_internals_message_handler.cc
|
| @@ -66,9 +66,11 @@ void PopularSitesInternalsMessageHandler::HandleRegisterForEvents(
|
| content::BrowserThread::GetBlockingPool(), profile->GetPrefs(),
|
| TemplateURLServiceFactory::GetForProfile(profile),
|
| g_browser_process->variations_service(), profile->GetRequestContext(),
|
| - ChromePopularSites::GetDirectory(), false,
|
| + ChromePopularSites::GetDirectory()));
|
| + popular_sites_->StartFetch(
|
| + false,
|
| base::Bind(&PopularSitesInternalsMessageHandler::OnPopularSitesAvailable,
|
| - base::Unretained(this), false)));
|
| + base::Unretained(this), false));
|
| }
|
|
|
| void PopularSitesInternalsMessageHandler::HandleUpdate(
|
| @@ -107,7 +109,8 @@ void PopularSitesInternalsMessageHandler::HandleUpdate(
|
| content::BrowserThread::GetBlockingPool(), prefs,
|
| TemplateURLServiceFactory::GetForProfile(profile),
|
| g_browser_process->variations_service(), profile->GetRequestContext(),
|
| - ChromePopularSites::GetDirectory(), true, callback));
|
| + ChromePopularSites::GetDirectory()));
|
| + popular_sites_->StartFetch(true, callback);
|
| }
|
|
|
| void PopularSitesInternalsMessageHandler::HandleViewJson(
|
|
|