Index: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
index 58d93e374bf54e60526b5406f97bb101077717e6..62a80688d5e7b59823cbd1123efad15f5331389a 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
@@ -232,11 +232,9 @@ WebUIFactoryFunction GetWebUIFactoryFunction(content::WebUI* web_ui, |
// Android uses the native download manager. |
if (url.host() == chrome::kChromeUIDownloadsHost) |
return &NewWebUI<DownloadsUI>; |
- // Android doesn't use the Options/Options2 pages. |
+ // Android doesn't use the Options pages. |
if (url.host() == chrome::kChromeUISettingsFrameHost) |
return &NewWebUI<options2::OptionsUI>; |
- if (url.host() == chrome::kChromeUISettingsHost) |
- return &NewWebUI<OptionsUI>; |
// Android doesn't support print/print-preview |
if (url.host() == chrome::kChromeUIPrintHost && |
!g_browser_process->local_state()->GetBoolean( |
@@ -482,14 +480,11 @@ RefCountedMemory* ChromeWebUIControllerFactory::GetFaviconResourceBytes( |
return FlashUI::GetFaviconResourceBytes(); |
#if !defined(OS_ANDROID) |
- // Android uses the native download manager |
+ // Android uses the native download manager. |
if (page_url.host() == chrome::kChromeUIDownloadsHost) |
return DownloadsUI::GetFaviconResourceBytes(); |
- // Android doesn't use the Options/Options2 pages |
- if (page_url.host() == chrome::kChromeUISettingsHost) |
- return OptionsUI::GetFaviconResourceBytes(); |
- |
+ // Android doesn't use the Options pages. |
if (page_url.host() == chrome::kChromeUISettingsFrameHost) |
return options2::OptionsUI::GetFaviconResourceBytes(); |
#endif |