Index: chrome/browser/ui/webui/ntp/most_visited_handler.cc |
diff --git a/chrome/browser/ui/webui/ntp/most_visited_handler.cc b/chrome/browser/ui/webui/ntp/most_visited_handler.cc |
index b8e6ebb88558588fe63e8b05e908368a8bb52cfb..0641e6ba260431fb94829154ad5eb5daee2e269d 100644 |
--- a/chrome/browser/ui/webui/ntp/most_visited_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/most_visited_handler.cc |
@@ -27,6 +27,7 @@ |
#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "chrome/browser/ui/tabs/tab_strip_model_utils.h" |
+#include "chrome/browser/ui/webui/fallback_icon_source.h" |
#include "chrome/browser/ui/webui/favicon_source.h" |
#include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
#include "chrome/browser/ui/webui/ntp/ntp_stats.h" |
@@ -78,6 +79,9 @@ void MostVisitedHandler::RegisterMessages() { |
// Set up our sources for top-sites data. |
content::URLDataSource::Add(profile, new ThumbnailListSource(profile)); |
+ // Register chrome://fallback-icon as a data source for fallback icons. |
+ content::URLDataSource::Add(profile, new FallbackIconSource()); |
+ |
// Register chrome://favicon as a data source for favicons. |
content::URLDataSource::Add( |
profile, new FaviconSource(profile, FaviconSource::FAVICON)); |