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 fc5da40654d31c70a5911904a67f5463cf369651..11a6fcd2d8ea671b53506d87b1df6556b4b697df 100644 |
--- a/chrome/browser/ui/webui/ntp/most_visited_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/most_visited_handler.cc |
@@ -84,11 +84,6 @@ void MostVisitedHandler::RegisterMessages() { |
// Set up our sources for top-sites data. |
content::URLDataSource::Add(profile, new ThumbnailListSource(profile)); |
-#if defined(OS_ANDROID) |
- // Register chrome://touch-icon as a data source for touch icons or favicons. |
- content::URLDataSource::Add(profile, |
- new FaviconSource(profile, FaviconSource::ANY)); |
-#endif |
// Register chrome://favicon as a data source for favicons. |
content::URLDataSource::Add( |
profile, new FaviconSource(profile, FaviconSource::FAVICON)); |
@@ -275,9 +270,6 @@ std::string MostVisitedHandler::GetDictionaryKeyForUrl(const std::string& url) { |
} |
void MostVisitedHandler::MaybeRemovePageValues() { |
-// The code below uses APIs not available on Android and the experiment should |
-// not run there. |
-#if !defined(OS_ANDROID) |
if (!history::MostVisitedTilesExperiment::IsDontShowOpenURLsEnabled()) |
return; |
@@ -294,7 +286,6 @@ void MostVisitedHandler::MaybeRemovePageValues() { |
history::MostVisitedTilesExperiment::RemovePageValuesMatchingOpenTabs( |
open_urls, |
pages_value_.get()); |
-#endif |
} |
// static |