Index: chrome/browser/ui/webui/ntp/new_tab_ui.cc |
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.cc b/chrome/browser/ui/webui/ntp/new_tab_ui.cc |
index da54d5621a5ea52a354af29a8073e7908c829c0e..b4d66831e381592d2eb271c856f32758c16d15e9 100644 |
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc |
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc |
@@ -136,8 +136,11 @@ NewTabUI::NewTabUI(content::WebUI* web_ui) |
web_ui->AddMessageHandler(new FaviconWebUIHandler()); |
} |
+#if !defined(OS_ANDROID) |
+ // Android uses native UI for sync setup. |
if (NTPLoginHandler::ShouldShow(GetProfile())) |
web_ui->AddMessageHandler(new NTPLoginHandler()); |
+#endif |
// Initializing the CSS and HTML can require some CPU, so do it after |
// we've hooked up the most visited handler. This allows the DB query |