Chromium Code Reviews| 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 4d606fe2d0c02ebc3797f0e909e93accedd24cf1..e5c553b6899920bebf1a3cdd5ce4c900261bec46 100644 |
| --- a/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc |
| +++ b/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc |
| @@ -18,6 +18,7 @@ |
| #include "chrome/browser/chrome_notification_types.h" |
| #include "chrome/browser/history/top_sites.h" |
| #include "chrome/browser/profiles/profile.h" |
| +#include "chrome/browser/ui/webui/fallback_icon_source.h" |
| #include "chrome/browser/ui/webui/favicon_source.h" |
| #include "chrome/browser/ui/webui/ntp/ntp_stats.h" |
| #include "chrome/browser/ui/webui/ntp/suggestions_combiner.h" |
| @@ -64,6 +65,7 @@ void SuggestionsHandler::RegisterMessages() { |
| Profile* profile = Profile::FromWebUI(web_ui()); |
| // Set up our sources for thumbnail and favicon data. |
| content::URLDataSource::Add(profile, new ThumbnailSource(profile, false)); |
| + content::URLDataSource::Add(profile, new FallbackIconSource()); |
|
pkotwicz
2015/01/23 16:00:47
I think that SuggestionsHandler is no longer used
huangs
2015/01/23 19:47:50
Done.
|
| content::URLDataSource::Add( |
| profile, new FaviconSource(profile, FaviconSource::FAVICON)); |