| Index: chrome/browser/ui/webui/ntp/suggestions_page_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc b/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc
|
| index ee86fd525eaeab4960362048f160166177cc6031..77a85d88e9b891efb2c3920031b92634e650de4a 100644
|
| --- a/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc
|
| @@ -89,9 +89,8 @@ SuggestionsHandler::~SuggestionsHandler() {
|
| void SuggestionsHandler::RegisterMessages() {
|
| Profile* profile = Profile::FromWebUI(web_ui());
|
| // Set up our sources for thumbnail and favicon data.
|
| - profile->GetChromeURLDataManager()->AddDataSource(
|
| - new ThumbnailSource(profile));
|
| - profile->GetChromeURLDataManager()->AddDataSource(
|
| + ChromeURLDataManager::AddDataSource(profile, new ThumbnailSource(profile));
|
| + ChromeURLDataManager::AddDataSource(profile,
|
| new FaviconSource(profile, FaviconSource::FAVICON));
|
|
|
| // TODO(georgey) change the source of the web-sites to provide our data.
|
|
|