Index: chrome/browser/ui/webui/chrome_web_ui_factory.cc |
diff --git a/chrome/browser/ui/webui/chrome_web_ui_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_factory.cc |
index 8991b19947f0e690b986ec27df3a86a7ba2951d0..6925e96efcf15b2af3d2db2162ea529feb7dd60e 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_factory.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_factory.cc |
@@ -218,12 +218,12 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile, |
return &NewWebUI<SystemInfoUI>; |
if (url.host() == chrome::kChromeUIEnterpriseEnrollmentHost) |
return &NewWebUI<chromeos::EnterpriseEnrollmentUI>; |
-#else |
+#endif // defined(OS_CHROMEOS) |
+ |
if (url.host() == chrome::kChromeUIPrintHost && |
switches::IsPrintPreviewEnabled()) { |
return &NewWebUI<PrintPreviewUI>; |
} |
-#endif // defined(OS_CHROMEOS) |
if (url.spec() == chrome::kChromeUIConstrainedHTMLTestURL) |
return &NewWebUI<ConstrainedHtmlUI>; |