| Index: chrome/browser/dom_ui/dom_ui_factory.cc
|
| diff --git a/chrome/browser/dom_ui/dom_ui_factory.cc b/chrome/browser/dom_ui/dom_ui_factory.cc
|
| index b1aca947e041da9e33ae61faab0fba74bfe685fb..6f7eaafbed98e2824c6a638e3887de4c6f53eea2 100644
|
| --- a/chrome/browser/dom_ui/dom_ui_factory.cc
|
| +++ b/chrome/browser/dom_ui/dom_ui_factory.cc
|
| @@ -157,8 +157,6 @@ static DOMUIFactoryFunction GetDOMUIFactoryFunction(Profile* profile,
|
| #if defined(TOUCH_UI)
|
| if (url.host() == chrome::kChromeUIKeyboardHost)
|
| return &NewDOMUI<KeyboardUI>;
|
| - if (url.host() == chrome::kChromeUILoginHost)
|
| - return &NewDOMUI<chromeos::LoginUI>;
|
| #endif
|
| if (url.host() == chrome::kChromeUIGpuInternalsHost)
|
| return &NewDOMUI<GpuInternalsUI>;
|
| @@ -213,6 +211,11 @@ static DOMUIFactoryFunction GetDOMUIFactoryFunction(Profile* profile,
|
| return &NewDOMUI<PrintPreviewUI>;
|
| }
|
| }
|
| +#endif // defined(OS_CHROMEOS)
|
| +
|
| +#if defined(OS_CHROMEOS) && defined(TOUCH_UI)
|
| + if (url.host() == chrome::kChromeUILoginHost)
|
| + return &NewDOMUI<chromeos::LoginUI>;
|
| #endif
|
|
|
| if (url.spec() == chrome::kChromeUIConstrainedHTMLTestURL)
|
|
|