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 f209202806ea01cac34f8d6b0d4ee49f01352811..92710a90ab1eb348ceea9893adb0ef1dcd9aa0fe 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_factory.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_factory.cc |
@@ -202,11 +202,14 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile, |
if (url.host() == chrome::kChromeUIEnterpriseEnrollmentHost) |
return &NewWebUI<chromeos::EnterpriseEnrollmentUI>; |
#else |
+ if (url.host() == chrome::kChromeUISettingsHost) |
Lei Zhang
2011/06/09 21:23:30
isn't this already on line 172?
Albert Bodenhamer
2011/06/10 01:29:36
Good catch. I think something went wrong with a m
|
+ return &NewWebUI<OptionsUI>; |
+#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>; |